mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
24 lines
783 B
YAML
24 lines
783 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_access_token:
|
|
client: @oauth
|
|
user: @admin
|
|
token: SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ
|
|
|
|
Sylius\Bundle\ApiBundle\Model\RefreshToken:
|
|
oauth_refresh_token:
|
|
client: @oauth
|
|
user: @admin
|
|
token: SampleRefreshTokenODllODY4ZTQyOThlNWIyMjA1ZDhmZjE1ZDYyMGMwOTUxOWM2NGFmNGRjNjQ2NDBhMDVlNGZjMmQ0YzgyNDM2Ng
|
|
|
|
Sylius\Component\Core\Model\AdminUser:
|
|
admin:
|
|
plainPassword: sylius
|
|
roles: [ROLE_API_ACCESS]
|
|
enabled: true
|
|
username: api@sylius.com
|