Skip to content

SecuritySchemaComponent

faststream.asyncapi.schema.security.SecuritySchemaComponent #

Bases: BaseModel

A class to represent a security schema component.

ATTRIBUTE DESCRIPTION
type

Literal, the type of the security schema component

name

optional name of the security schema component

description

optional description of the security schema component

in_

optional location of the security schema component

schema_

optional schema of the security schema component

bearerFormat

optional bearer format of the security schema component

openIdConnectUrl

optional OpenID Connect URL of the security schema component

flows

optional OAuth flows of the security schema component

type instance-attribute #

type

name class-attribute instance-attribute #

name = None

description class-attribute instance-attribute #

description = None

in_ class-attribute instance-attribute #

in_ = Field(default=None, alias='in')

schema_ class-attribute instance-attribute #

schema_ = Field(default=None, alias='schema')

bearerFormat class-attribute instance-attribute #

bearerFormat = None

openIdConnectUrl class-attribute instance-attribute #

openIdConnectUrl = None

flows class-attribute instance-attribute #

flows = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'