GitHub

DaffLoginServiceInterface

Type

import { DaffLoginServiceInterface } from '@daffodil/auth/driver'

interface DaffLoginServiceInterface<TRequest extends DaffLoginInfo = DaffLoginInfo, TResponse extends DaffAuthToken = DaffAuthToken> {
  login(loginInfo: TRequest): any
  logout(): any
}

() Methods

login
any

Logs the user in.

Parameters
ParameterloginInfo: TRequest
Description
logout
any

Logs the user out by revoking their access token.