Aucune description

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

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 }