|
25 | 25 | ], |
26 | 26 | "security": [ |
27 | 27 | { |
28 | | - "azure_auth": [ |
| 28 | + "azure_auth_implicit": [ |
| 29 | + "user_impersonation" |
| 30 | + ] |
| 31 | + }, |
| 32 | + { |
| 33 | + "azure_auth_code": [ |
| 34 | + "user_impersonation" |
| 35 | + ] |
| 36 | + }, |
| 37 | + { |
| 38 | + "azure_auth_application": [ |
| 39 | + ".default" |
| 40 | + ] |
| 41 | + }, |
| 42 | + { |
| 43 | + "azure_auth_password": [ |
29 | 44 | "user_impersonation" |
30 | 45 | ] |
31 | 46 | } |
32 | 47 | ], |
33 | 48 | "securityDefinitions": { |
34 | | - "azure_auth": { |
| 49 | + "azure_auth_implicit": { |
35 | 50 | "type": "oauth2", |
36 | | - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", |
| 51 | + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", |
37 | 52 | "flow": "implicit", |
38 | | - "description": "Azure Active Directory OAuth2 Flow", |
| 53 | + "description": "Azure Active Directory OAuth2 Implicit Flow", |
| 54 | + "scopes": { |
| 55 | + "user_impersonation": "impersonate your user account" |
| 56 | + } |
| 57 | + }, |
| 58 | + "azure_auth_code": { |
| 59 | + "type": "oauth2", |
| 60 | + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", |
| 61 | + "tokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", |
| 62 | + "flow": "accessCode", |
| 63 | + "description": "Azure Active Directory OAuth2 AccessCode Flow", |
| 64 | + "scopes": { |
| 65 | + "user_impersonation": "impersonate your user account" |
| 66 | + } |
| 67 | + }, |
| 68 | + "azure_auth_application": { |
| 69 | + "type": "oauth2", |
| 70 | + "tokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", |
| 71 | + "flow": "application", |
| 72 | + "description": "Azure Active Directory OAuth2 Application Flow", |
| 73 | + "scopes": { |
| 74 | + ".default": "client credential scope" |
| 75 | + } |
| 76 | + }, |
| 77 | + "azure_auth_password": { |
| 78 | + "type": "oauth2", |
| 79 | + "tokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", |
| 80 | + "flow": "password", |
| 81 | + "description": "Azure Active Directory OAuth2 Password Flow", |
39 | 82 | "scopes": { |
40 | 83 | "user_impersonation": "impersonate your user account" |
41 | 84 | } |
|
0 commit comments