Sem descrição

Guillermo Espinoza c8e77dce32 Add new file .gitlab-ci.yml há 6 anos atrás
DependencyInjection 271d2bb7e6 Custom Authentication provider há 7 anos atrás
Resources ac4a13da24 Agregado del logger há 7 anos atrás
Security f5d0128e02 FD3-721 Se agrega hasIntercom a los datos del usuario. há 6 anos atrás
Services 56942a8392 OAuthProxyListener há 7 anos atrás
Utils d31c6ee7a8 Agregado de variable con ip denegadas há 7 anos atrás
keys a68030c349 Agregado drone há 7 anos atrás
tests 9743218594 Se agregó test y chequeos en librería há 7 anos atrás
.drone.yml d8a486e070 Agregado del paso de tags a gogs há 7 anos atrás
.gitlab-ci.yml c8e77dce32 Add new file .gitlab-ci.yml há 6 anos atrás
AuthBundle.php 271d2bb7e6 Custom Authentication provider há 7 anos atrás
README.md f2883a8788 Update README.md há 7 anos atrás
composer.json 8f28559950 Se quito version y minimum-stability há 7 anos atrás

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 }