PHP Classes

File: app/Resources/config/security.yml

Recommend this page to a friend!
  Classes of Rafael Espinosa   Silex Enhanced   app/Resources/config/security.yml   Download  
File: app/Resources/config/security.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Silex Enhanced
Silex with custom services providers.
Author: By
Last change: Initialized repository with application skeleton and demo files.
Date: 9 years ago
Size: 1,312 bytes
 

Contents

Class file image Download
service_providers: security: class: Silex\Provider\SecurityServiceProvider parameters: # security.role_hierarchy: # - ROLE_ADMIN [ 'ROLE_USER' ] # security.access_rules: # - [ '^/login$', 'IS_AUTHENTICATED_ANONYMOUSLY' ] # - [ '^/.+$', 'ROLE_USER' ] security.firewalls: default: pattern: ^/.*$ anonymous: true form: login_path: /login check_path: /login_check default_target_path: / always_use_default_target_path': true logout: logout_path: /logout invalidate_session: false target: / invalidate_session: true # users: # admin: # - ROLE_ADMIN # - 5FZ2Z8QIkA7UTZ4BYkoC+GsReLf569mSKDsfods6LYQ8t+a8EW9oaircfMpmaLbPBh4FOBiiFyLfuZmTSUwzZg== security.user_providers: class: Fluency\Silex\Security\Core\Authentication\Provider\DbalUserProvider parameters: security.user_providers.connection: ~