Total Complexity | 1 |
Total Lines | 55 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class OauthFlow extends AbstractObject implements ExtensibleInterface |
||
11 | { |
||
12 | /** |
||
13 | * REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. |
||
14 | * |
||
15 | * Applies To: oauth2 ("implicit", "authorizationCode") |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | public $authorizationUrl; |
||
20 | |||
21 | /** |
||
22 | * REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. |
||
23 | * |
||
24 | * Applies To: oauth2 ("password", "clientCredentials", "authorizationCode") |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | public $tokenUrl; |
||
29 | |||
30 | /** |
||
31 | * REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short |
||
32 | * description for it. |
||
33 | * |
||
34 | * Applies To: oauth2 |
||
35 | * |
||
36 | * @var string[] array<string,string> |
||
37 | */ |
||
38 | public $scopes; |
||
39 | |||
40 | /** |
||
41 | * The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. |
||
42 | * |
||
43 | * Applies To: oauth2 |
||
44 | * |
||
45 | * @var string |
||
46 | */ |
||
47 | public $refreshUrl; |
||
48 | |||
49 | /** |
||
50 | * @param string $authorizationUrl |
||
51 | * @param string $tokenUrl |
||
52 | * @param string[] $scopes |
||
53 | * @param array $additionalProperties |
||
54 | */ |
||
55 | 3 | public function __construct( |
|
67 |