Aucune description

Your Name a68030c349 Agregado drone il y a 7 ans
DependencyInjection 271d2bb7e6 Custom Authentication provider il y a 7 ans
Resources ac4a13da24 Agregado del logger il y a 7 ans
Security 3dfe0b95b0 Merge remote-tracking branch 'origin/FD3-284' il y a 7 ans
Services 56942a8392 OAuthProxyListener il y a 7 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 a68030c349 Agregado drone il y a 7 ans
AuthBundle.php 271d2bb7e6 Custom Authentication provider il y a 7 ans
README.md f2883a8788 Update README.md il y a 7 ans
composer.json 6f012cdf5d Commit inicial 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 }