bprs/applink-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Simple key link for applications

Installs: 105

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:symfony-bundle

This package has no released version yet, and little information is available.


README

Allows CRUD linking of Applications

If you want to allow different applications to share informations, you'll face the problem of securing those api's.
With the BprsAppLinkBundle, controlling keys and permissions is easy.

#Installation

##Get Bundle

composer require bprs/applink-bundle

##Activate Bundle

  //AppKernel
  new Bprs\AppLinkBundle\BprsAppLinkBundle(),
  new EightPoints\Bundle\GuzzleBundle\GuzzleBundle()

##Activate Routing

bprs_applink:
    resource: .
    type: bprs_applink

##Set firewall, access_controls

security:
    providers:
        bprs_applink:
            entity:
                class: BprsAppLinkBundle:Keychain
                property: user

    encoders:
        Bprs\AppLinkBundle\Entity\Keychain: plaintext

    firewalls:
        api:
            pattern:  ^/api
            http_basic: ~
            provider: bprs_applink

    access_control:
        # require BPRS_APPLINK for /api*
        - { path: ^/api, roles: ROLE_BPRS_APPLINK }

##Use Bundle