UNPKG

@rsksmart/express-did-auth

Version:

Authentication with Verifiable Credentials for Express.js

6 lines 693 B
import { AuthenticationBusinessLogic, SignupBusinessLogic, AppState, AuthenticationConfig } from '../types'; import { ChallengeVerifier } from '../classes/challenge-verifier'; import { SessionManagerFactory } from '../classes/session-manager'; import { RequestCounterFactory } from '../classes/request-counter'; export declare function authenticationFactory(challengeVerifier: ChallengeVerifier, state: AppState, sessionManagerFactory: SessionManagerFactory, requestCounterFactory: RequestCounterFactory, config: AuthenticationConfig, businessLogic?: AuthenticationBusinessLogic | SignupBusinessLogic): (req: any, res: any) => Promise<any>; //# sourceMappingURL=authentication-factory.d.ts.map