Type Alias VerifyFunction<User, VerifyParams>

VerifyFunction: (params: VerifyParams) => Promise<User>

A function which will be called to find the user using the information the strategy got from the request.

Type Parameters

  • User
  • VerifyParams

Type declaration

If the user was not found. Any other error will be ignored and thrown again by the strategy.