Skip to content

OS2FlowAccessCode

@tsed/openspec

Usage ​

typescript
import { OS2FlowAccessCode } from "@tsed/openspec";

See /packages/specs/openspec/src/openspec2/OS2Security.ts.

Overview ​

ts
interface OS2FlowAccessCode extends OS2SecurityOAuth {
    type: "oauth2";
    flow: "accessCode";
    tokenUrl: string;
    authorizationUrl: string;
}

type ​

ts
type: "oauth2";

flow ​

ts
flow: "accessCode";

tokenUrl ​

ts
tokenUrl: string;

authorizationUrl ​

ts
authorizationUrl: string;

Released under the MIT License.