Padloc Logo Docs & Resources

Interface: AuthServer

auth.AuthServer

Implemented by

Methods

activateAuthenticator

activateAuthenticator(authenticator, params?): Promise<void>

Parameters

Name Type
authenticator Authenticator<any>
params? any

Returns

Promise<void>

Defined in

core/src/auth.ts:154


initAuthRequest

initAuthRequest(authenticator, request, params?): Promise<any>

Parameters

Name Type
authenticator Authenticator<any>
request AuthRequest<any>
params? any

Returns

Promise<any>

Defined in

core/src/auth.ts:156


initAuthenticator

initAuthenticator(authenticator, auth, params?): Promise<any>

Parameters

Name Type
authenticator Authenticator<any>
auth Auth
params? any

Returns

Promise<any>

Defined in

core/src/auth.ts:152


supportsType

supportsType(type): boolean

Parameters

Name Type
type AuthType

Returns

boolean

Defined in

core/src/auth.ts:150


verifyAuthRequest

verifyAuthRequest(authenticator, request, params?): Promise<void>

Parameters

Name Type
authenticator Authenticator<any>
request AuthRequest<any>
params? any

Returns

Promise<void>

Defined in

core/src/auth.ts:158