blob: df81668262762edb3a1b5ae509b1049c5539e2c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
fos_oauth_server:
db_driver: orm
client_class: Opengnsys\CoreBundle\Entity\Client
access_token_class: Opengnsys\CoreBundle\Entity\AccessToken
refresh_token_class: Opengnsys\CoreBundle\Entity\RefreshToken
auth_code_class: Opengnsys\CoreBundle\Entity\AuthCode
service:
user_provider: fos_user.user_provider.username
options:
access_token_lifetime: 1209600 # 336 horas
refresh_token_lifetime: 9209600 # aprox 106 días
auth_code_lifetime: 30
|