Skip to content

Latest commit

 

History

History
89 lines (49 loc) · 2.11 KB

File metadata and controls

89 lines (49 loc) · 2.11 KB

api-typescript-generator / Modules / openapi / OpenApiSecurityScheme

Interface: OpenApiSecurityScheme

openapi.OpenApiSecurityScheme

OpenAPI Security Scheme Object.

See

https://swagger.io/specification/#security-scheme-object

Table of contents

Properties

Properties

bearerFormat

Optional bearerFormat: string

A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.


description

Optional description: string

A short description for security scheme.


flows

Optional flows: OpenApiOAuthFlows

An object containing configuration information for the flow types supported.


in

Optional in: "query" | "header" | "cookie"

The location of the API key. Valid values are "query", "header" or "cookie".


name

Optional name: string

The name of the header, query or cookie parameter to be used.


openIdConnectUrl

Optional openIdConnectUrl: string

OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the form of a URL.


scheme

Optional scheme: string

The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235.


type

type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect"

The type of the security scheme. Valid values are "apiKey", "http", "oauth2", "openIdConnect".