|
%!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.gitlab | %!s(int64=6) %!d(string=hai) anos | |
DependencyInjection | %!s(int64=7) %!d(string=hai) anos | |
Resources | %!s(int64=7) %!d(string=hai) anos | |
Security | %!s(int64=5) %!d(string=hai) anos | |
Services | %!s(int64=7) %!d(string=hai) anos | |
Utils | %!s(int64=7) %!d(string=hai) anos | |
keys | %!s(int64=7) %!d(string=hai) anos | |
tests | %!s(int64=7) %!d(string=hai) anos | |
.drone.yml | %!s(int64=7) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
.gitlab-ci.yml | %!s(int64=5) %!d(string=hai) anos | |
AuthBundle.php | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
composer.json | %!s(int64=7) %!d(string=hai) anos |
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 }