|
il y a 7 ans | |
---|---|---|
DependencyInjection | il y a 7 ans | |
Resources | il y a 7 ans | |
Security | il y a 7 ans | |
Services | il y a 7 ans | |
Utils | il y a 7 ans | |
keys | il y a 7 ans | |
tests | il y a 7 ans | |
.drone.yml | il y a 7 ans | |
AuthBundle.php | il y a 7 ans | |
README.md | il y a 7 ans | |
composer.json | il y a 7 ans |
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 }