mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 09:30:58 +00:00
23 lines
656 B
YAML
23 lines
656 B
YAML
Sylius\Bundle\ApiBundle\Model\Client:
|
|
oauth:
|
|
randomId: client_id
|
|
secret: secret
|
|
allowedGrantTypes: [password, access_token, refresh_token]
|
|
|
|
Sylius\Bundle\ApiBundle\Model\AccessToken:
|
|
oauth_token:
|
|
client: @oauth
|
|
user: @admin
|
|
token: SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ
|
|
|
|
Sylius\Component\Core\Model\User:
|
|
admin:
|
|
plainPassword: sylius
|
|
roles: [ROLE_API_ACCESS]
|
|
enabled: true
|
|
customer: @customerAdmin
|
|
|
|
Sylius\Component\Core\Model\Customer:
|
|
customerAdmin:
|
|
email: api@sylius.com
|
|
emailCanonical: $email
|