api-typescript-generator / Modules / openapi / OpenApiOAuthFlow
openapi.OpenApiOAuthFlow
OpenAPI OAuth Flow Object.
See
https://swagger.io/specification/#oauth-flow-object
• authorizationUrl: string
The authorization URL to be used for this flow. This MUST be in the form of a URL.
• Optional refreshUrl: string
The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL.
• scopes: Record<string, string>
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it.
• tokenUrl: string
The token URL to be used for this flow. This MUST be in the form of a URL.