AuthOptions
Hierarchy
- Omit<SecuritySchemeObject, type>
- AuthOptions
Index
Properties
authType
验权类型 basic => http basic 验证 bearer => http jwt 验证 cookie => cookie 方式验证 oauth2 => 使用 oauth2 apikey => apiKey custom => 自定义方式
optionalbearerFormat
optionalcookieName
authType = cookie 时可以修改,cookie 的名称
optionaldescription
optionalflows
optionalin
optionalname
optionalopenIdConnectUrl
optionalscheme
optionalsecurityName
authType = cookie 时可以修改,通过 ApiCookie 装饰器关联的名称
继承自 https://swagger.io/specification/#security-scheme-object