OAuthFlows

class aws_cdk.aws_cognito.OAuthFlows(*, authorization_code_grant=None, client_credentials=None, implicit_code_grant=None)

Bases: object

Types of OAuth grant flows.

Parameters
  • authorization_code_grant (Optional[bool]) – Initiate an authorization code grant flow, which provides an authorization code as the response. Default: false

  • client_credentials (Optional[bool]) – Client should get the access token and ID token from the token endpoint using a combination of client and client_secret. Default: false

  • implicit_code_grant (Optional[bool]) – The client should get the access token and ID token directly. Default: false

See

Attributes

authorization_code_grant

Initiate an authorization code grant flow, which provides an authorization code as the response.

Default

false

Return type

Optional[bool]

client_credentials

Client should get the access token and ID token from the token endpoint using a combination of client and client_secret.

Default

false

Return type

Optional[bool]

implicit_code_grant

The client should get the access token and ID token directly.

Default

false

Return type

Optional[bool]