Skip to content

tsoa-next / tsoa-next / Swagger / OAuth2PasswordSecurity

Interface: OAuth2PasswordSecurity ​

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

Extends ​

  • BaseOAuthSecurity

Properties ​

description? ​

ts
optional description?: string;

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

Inherited from ​

ts
BaseOAuthSecurity.description

flow ​

ts
flow: "password";

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


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:533


type ​

ts
type: "oauth2";

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

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