Last active
August 29, 2015 14:24
-
-
Save arnolanglade/abc2013d4bf7f9287713 to your computer and use it in GitHub Desktop.
Basic authentication (Lazy mode : on)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
security: | |
providers: | |
api_provider: | |
memory: | |
users: | |
user: { password: password, roles: 'ROLE_API' } | |
encoders: | |
Symfony\Component\Security\Core\User\User: plaintext | |
firewalls: | |
api: | |
pattern: ^/api | |
http_basic: ~ | |
provider: api_provider |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment