暫無描述

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 }