Skip to content

Protocol

@tsed/passport

Usage ​

typescript
import { Protocol } from "@tsed/passport";

See /packages/security/passport/src/decorators/protocol.ts.

Overview ​

ts
function Protocol<T = any>(options: ProtocolOptionsDecorator<T>): any;

Description ​

Declare a new Protocol base on a Passport Strategy

Released under the MIT License.