Skip to content

ProtocolOptions

@tsed/passport

Usage

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

See /packages/security/passport/src/types/interfaces/ProtocolOptions.ts.

Overview

ts
interface ProtocolOptions<Settings = any> {
    name: string;
    useStrategy: Type<Strategy>;
    settings: Settings;
}

name

ts
name: string;

useStrategy

ts
useStrategy: Type<Strategy>;

settings

ts
settings: Settings;

Released under the MIT License.