@gapi/auth
Version:
##### For questions/issues you can write ticket [here](http://gitlab.youvolio.com/Stradivario/gapi-auth/issues) ##### This module is intended to be used with [rxdi](https://github.com/rxdi/core) or [gapi](https://github.com/Stradivario/gapi)
11 lines (10 loc) • 373 B
TypeScript
import { AuthModuleConfig, TokenData } from './auth.config';
export declare class AuthInternalService {
private config;
constructor(config: AuthModuleConfig);
verifyToken(token: any): TokenData;
decrypt(password: string): string;
encrypt(password: string): string;
validate(token: any, callback: any): any;
sign(tokenData: TokenData): string;
}