2017 © Pedro Peláez
 

symfony-bundle microservices-internal-authentication

Symfony MicroservicesInternalAuthenticationBundle

image

fiser/microservices-internal-authentication

Symfony MicroservicesInternalAuthenticationBundle

  • Friday, March 23, 2018
  • by Fiser
  • Repository
  • 1 Watchers
  • 2 Stars
  • 60 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Microservices Internal Authentication Bundle

Description

The purpose of this bundle is solved the internal comunications between symfony microservices for the authentification based in solved JWT., (*1)

If you have one microservice that generate the JWT and the clients send this to another microservices, this bundle is for the communication of the another microservice with the session microservice., (*2)

This system integrates the microservices authentication with a symfony system authentication., (*3)

Configuration

Installation

The code is in packagist hosted: https://packagist.org/packages/fiser/microservices-internal-authentication, (*4)

For install you can do:, (*5)

composer require fiser/microservices-internal-authentication

Configuration files

Paste in your security file of symfony this:, (*6)

security:
    providers:
        user_api_provider:
            id: "fiser.microservices_internal_authentication.security.user_provider"

    firewalls:
        main:
            anonymous: ~
            guard:
                authenticators:
                    - "fiser.microservices_internal_authentication.security.authenticator"
            provider: user_api_provider

    access_control:
        - { path: ^/recipes/, roles: ROLE_USER }

In your config.yml you need to define this elements for configure the bundle The config values are not necessary if you not put this are the default values:, (*7)

microservices_internal_authentication:
    cookie_name: Authorization
    uri: http://nginx/session/user/decode
    token-api: secret

The Versions

23/03 2018

dev-master

9999999-dev

Symfony MicroservicesInternalAuthenticationBundle

  Sources   Download

MIT

The Requires

 

by Ruben Garcia

23/03 2018

1.4.2

1.4.2.0

Symfony MicroservicesInternalAuthenticationBundle

  Sources   Download

MIT

The Requires

 

by Ruben Garcia

23/03 2018

1.4.1

1.4.1.0

Symfony MicroservicesInternalAuthenticationBundle

  Sources   Download

MIT

The Requires

 

by Ruben Garcia

23/03 2018

1.4

1.4.0.0

Symfony MicroservicesInternalAuthenticationBundle

  Sources   Download

MIT

The Requires

 

by Ruben Garcia

22/03 2018

1.3

1.3.0.0

Symfony MicroservicesInternalAuthenticationBundle

  Sources   Download

MIT

The Requires

 

by Ruben Garcia

10/03 2018

1.2

1.2.0.0

Symfony MicroservicesInternalAuthenticationBundle

  Sources   Download

MIT

The Requires

 

by Ruben Garcia

15/02 2018

1.1

1.1.0.0

Symfony MicroservicesInternalAuthenticationBundle

  Sources   Download

MIT

The Requires

 

by Ruben Garcia

15/02 2018

1.0

1.0.0.0

Symfony MicroservicesInternalAuthenticationBundle

  Sources   Download

MIT

The Requires

 

by Ruben Garcia