|
5 年之前 | |
---|---|---|
.gitlab | 6 年之前 | |
DependencyInjection | 7 年之前 | |
Resources | 7 年之前 | |
Security | 5 年之前 | |
Services | 7 年之前 | |
Utils | 7 年之前 | |
keys | 7 年之前 | |
tests | 7 年之前 | |
.drone.yml | 7 年之前 | |
.gitignore | 5 年之前 | |
.gitlab-ci.yml | 5 年之前 | |
AuthBundle.php | 7 年之前 | |
README.md | 7 年之前 | |
composer.json | 7 年之前 |
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 }