OAuthFlow

class OAuthFlow(d: dict[str, Any] = None, authorizationUrl: str = None, tokenUrl: str = None, refreshUrl: str = None, scopes: dict[str, str] = None)

Configuration details for a supported OAuth Flow.

property authorizationUrl: str | None

REQUIRED FOR IMPLCIIT OR AUTHORIZATIONCODE. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.

property tokenUrl: str | None

REQUIRED FOR PASSWORD, CLIENTCREDENTIALS, OR AUTHORIZATIONCODE. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.

property refreshUrl: str | None

The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.

property scopes: dict[str, str] | None

REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.