OS3SecurityHTTP
@tsed/openspec
Usage
typescript
import { OS3SecurityHTTP } from "@tsed/openspec";
See /packages/specs/openspec/src/types/openspec3/OS3Security.ts.
Overview
ts
interface OS3SecurityHTTP extends OS3SecurityBase {
type: "http";
scheme: string;
bearerFormat?: string;
}
type
ts
type: "http";
The type of the security scheme
scheme
ts
scheme: string;
The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235.
bearerFormat
ts
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.