forked from lookyman/nette-oauth2-server-doctrine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.neon
40 lines (36 loc) · 1 KB
/
config.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
decorator:
Psr\Log\LoggerAwareInterface:
setup:
- setLogger
doctrine:
user: 'foo'
password: ''
dbname: 'bar'
extensions:
console: Kdyby\Console\DI\ConsoleExtension
events: Kdyby\Events\DI\EventsExtension
annotations: Kdyby\Annotations\DI\AnnotationsExtension
doctrine: Kdyby\Doctrine\DI\OrmExtension
oauth2: Lookyman\NetteOAuth2Server\Storage\Doctrine\NetteOAuth2ServerDoctrineExtension
oauth2:
grants:
authCode: [pkce: on]
clientCredentials: [ttl: PT2H]
implicit: on
password: on
refreshToken: on
privateKey:
keyPath: %appDir%/keys/private.key
passPhrase: foobar
publicKey: %appDir%/keys/public.key
encryptionKey: 'ziVrR/ktyjH0499H1sG6B/dUvEEqLEUfDRp0n0ND/34='
approveDestination: :Foo:bar
loginDestination: :Bar:foo
tablePrefix: test_
loginEventPriority: 1
services:
- Lookyman\NetteOAuth2Server\Storage\Doctrine\Tests\Mock\LoggerMock
custom: Lookyman\NetteOAuth2Server\Storage\Doctrine\Tests\Mock\CustomGrantMock
oauth2.authorizationServer:
setup:
- enableGrantType(@custom)