OS2SecurityOAuth
@tsed/openspec
Usage
typescript
import { OS2SecurityOAuth } from "@tsed/openspec";
See /packages/specs/openspec/src/types/openspec2/OS2Security.ts.
Overview
ts
interface OS2SecurityOAuth extends OS2SecurityBase {
type: "oauth2";
flow: "accessCode" | "application" | "implicit" | "password";
scopes: OpenSpecHash<string>;
}
type
ts
type: "oauth2";
flow
ts
flow: "accessCode" | "application" | "implicit" | "password";
scopes
ts
scopes: OpenSpecHash<string>;
The available scopes for the OAuth2 security scheme.