@mvx/identity
Version:
identity is oidc for mvc, type-mvc is base on koa. Decorator, Ioc, AOP mvc framework on server.
11 lines (10 loc) • 404 B
TypeScript
import { IStrategy } from './IStrategy';
import { IAuthenticator } from './IAuthenticator';
import { ValidationResult } from './results';
import { Context } from 'koa';
export declare abstract class Strategy implements IStrategy {
name: string;
protected authenticator: IAuthenticator;
abstract authenticate(ctx: Context, options?: any): Promise<ValidationResult>;
static ρAnn(): any;
}