Skip to content

tsoa-next / @tsoa-next/runtime / Swagger / OAuth2AccessCodeSecurity

Interface: OAuth2AccessCodeSecurity ​

Defined in: packages/runtime/src/swagger/swagger.ts:542

Extends ​

  • BaseOAuthSecurity

Properties ​

authorizationUrl ​

ts
authorizationUrl: string;

Defined in: packages/runtime/src/swagger/swagger.ts:546


description? ​

ts
optional description?: string;

Defined in: packages/runtime/src/swagger/swagger.ts:479

Inherited from ​

ts
BaseOAuthSecurity.description

flow ​

ts
flow: "accessCode";

Defined in: packages/runtime/src/swagger/swagger.ts:544


scopes? ​

ts
optional scopes?: OAuthScope;

Defined in: packages/runtime/src/swagger/swagger.ts:489

Inherited from ​

ts
BaseOAuthSecurity.scopes

tokenUrl ​

ts
tokenUrl: string;

Defined in: packages/runtime/src/swagger/swagger.ts:545


type ​

ts
type: "oauth2";

Defined in: packages/runtime/src/swagger/swagger.ts:543

TypeScript-first OpenAPI generation, route generation, and runtime validation.