Няма описание

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

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 }