Skip to content

OauthFlowObj

faststream.asyncapi.schema.security.OauthFlowObj #

Bases: BaseModel

A class to represent an OAuth flow object.

ATTRIBUTE DESCRIPTION
authorizationUrl

Optional[AnyHttpUrl] : The URL for authorization

tokenUrl

Optional[AnyHttpUrl] : The URL for token

refreshUrl

Optional[AnyHttpUrl] : The URL for refresh

scopes

Dict[str, str] : The scopes for the OAuth flow

authorizationUrl class-attribute instance-attribute #

authorizationUrl = None

tokenUrl class-attribute instance-attribute #

tokenUrl = None

refreshUrl class-attribute instance-attribute #

refreshUrl = None

scopes instance-attribute #

scopes

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'