Skip to content

OauthFlowObj

faststream.asyncapi.schema.security.OauthFlowObj #

Bases: BaseModel

A class to represent an OAuth flow object.

authorizationUrl class-attribute instance-attribute #

authorizationUrl: Optional[AnyHttpUrl] = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

refreshUrl class-attribute instance-attribute #

refreshUrl: Optional[AnyHttpUrl] = None

scopes instance-attribute #

scopes: Dict[str, str]

tokenUrl class-attribute instance-attribute #

tokenUrl: Optional[AnyHttpUrl] = None

Config #

extra class-attribute instance-attribute #

extra = 'allow'