UNPKG

@midware/mauth

Version:

A simple auth middleware for Node.js

19 lines 895 B
import AuthService from './util/authService'; import Headers from './util/headers'; import Identification from './util/identification'; import UpdatePicture from './util/updatePicture'; export default class Google implements AuthService { protected updatePicture: UpdatePicture; constructor(updatePicture: UpdatePicture); verify(identification: Identification, identifications: Identification[], headers?: Headers): Promise<void>; checkPicture(identification: Identification, headers: Headers, item?: { picture?: string; }, payload?: { picture?: string; }): Promise<void>; checkToken(identification: Identification, headers?: Headers, item?: { picture: string; }): Promise<boolean>; compare(rIdentification: Identification, identifications: Identification[], headers?: Headers): Promise<boolean>; } //# sourceMappingURL=google.d.ts.map