Sen descrición

Jean Sumara 786c3bec2a Implemented the method in Proxy to receive a request in microservice %!s(int64=5) %!d(string=hai) anos
.gitlab 0cc718a7fc Directory .gitlab added %!s(int64=6) %!d(string=hai) anos
DependencyInjection 271d2bb7e6 Custom Authentication provider %!s(int64=7) %!d(string=hai) anos
Resources ac4a13da24 Agregado del logger %!s(int64=7) %!d(string=hai) anos
Security 786c3bec2a Implemented the method in Proxy to receive a request in microservice %!s(int64=5) %!d(string=hai) anos
Services 56942a8392 OAuthProxyListener %!s(int64=7) %!d(string=hai) anos
Utils d31c6ee7a8 Agregado de variable con ip denegadas %!s(int64=7) %!d(string=hai) anos
keys a68030c349 Agregado drone %!s(int64=7) %!d(string=hai) anos
tests 9743218594 Se agregó test y chequeos en librería %!s(int64=7) %!d(string=hai) anos
.drone.yml d8a486e070 Agregado del paso de tags a gogs %!s(int64=7) %!d(string=hai) anos
.gitignore 786c3bec2a Implemented the method in Proxy to receive a request in microservice %!s(int64=5) %!d(string=hai) anos
.gitlab-ci.yml d19a60264e Update .gitlab-ci.yml %!s(int64=5) %!d(string=hai) anos
AuthBundle.php 271d2bb7e6 Custom Authentication provider %!s(int64=7) %!d(string=hai) anos
README.md f2883a8788 Update README.md %!s(int64=7) %!d(string=hai) anos
composer.json 8f28559950 Se quito version y minimum-stability %!s(int64=7) %!d(string=hai) anos

README.md

AuthBundle

Installation

composer.json:

"repositories": [
    {
        "type": "vcs",
        "url":  "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/AuthBundle.git"
    }
],
"require": {
    "ik/auth-bundle": "dev-master"
},

app/AppKernel.php:

public function registerBundles()
{
    $bundles = [
        new AuthBundle\AuthBundle(),
    ];
    .
    .
}

app/config/config.yml:

imports:
    - { resource: "@AuthBundle/Resources/config/services.yml" }

app/config/security.yml:

Si se requiere la autenticación OAuth

security:
    firewalls:       
        api:
            pattern: ^/api
            stateless: true
            oauth_proxy: true

    access_control:
        - { path: ^/api, role: ROLE_USER }