Update api user provider on security policy #730
This commit is contained in:
parent
e0029d8ab5
commit
693ee7cd9b
1 changed files with 8 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ security:
|
||||||
property: username
|
property: username
|
||||||
api_provider:
|
api_provider:
|
||||||
entity:
|
entity:
|
||||||
class: Catalyst\UserBundle\Entity\User
|
class: App\Entity\CustomerUser
|
||||||
property: api_key
|
property: api_key
|
||||||
firewalls:
|
firewalls:
|
||||||
dev:
|
dev:
|
||||||
|
|
@ -51,7 +51,13 @@ security:
|
||||||
|
|
||||||
cust_api_v2:
|
cust_api_v2:
|
||||||
pattern: ^\/apiv2\/
|
pattern: ^\/apiv2\/
|
||||||
security: false
|
#provider: api_provider
|
||||||
|
#access_denied_handler: Catalyst\ApiBundle\Service\AccessDeniedHandler
|
||||||
|
stateless: true
|
||||||
|
#guard:
|
||||||
|
# authenticators:
|
||||||
|
# - Catalyst\ApiBundle\Security\Authenticator
|
||||||
|
security: false # NOTE: Temporary
|
||||||
|
|
||||||
warranty_api:
|
warranty_api:
|
||||||
pattern: ^\/capi\/
|
pattern: ^\/capi\/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue