19 lines
521 B
YAML
19 lines
521 B
YAML
|
|
security:
|
||
|
|
providers:
|
||
|
|
bridge_provider:
|
||
|
|
memory:
|
||
|
|
users:
|
||
|
|
bridge: { roles: ['ROLE_BRIDGE'] }
|
||
|
|
firewalls:
|
||
|
|
unauth:
|
||
|
|
pattern: ^/(healthz|\.well-known/mercure)
|
||
|
|
security: false
|
||
|
|
api:
|
||
|
|
pattern: ^/api
|
||
|
|
stateless: true
|
||
|
|
provider: bridge_provider
|
||
|
|
custom_authenticators:
|
||
|
|
- PhpQml\Bridge\SessionAuthenticator
|
||
|
|
access_control:
|
||
|
|
- { path: ^/api, roles: ROLE_BRIDGE }
|