1: | <?php declare(strict_types=1); |
2: | |
3: | namespace Salient\Http\OAuth2; |
4: | |
5: | /** |
6: | * OAuth 2.0 flows |
7: | */ |
8: | interface OAuth2Flow |
9: | { |
10: | /** |
11: | * Client Credentials flow |
12: | */ |
13: | public const CLIENT_CREDENTIALS = 0; |
14: | |
15: | /** |
16: | * Authorization Code flow |
17: | */ |
18: | public const AUTHORIZATION_CODE = 1; |
19: | } |
20: |