OAuthProvider
Index
Properties
Properties
authenticate
Should return oauth user payload from passed authentication code or token
Type declaration
Parameters
params: any
Returns Promise<OAuthUser>
optionalgetRegistrationPayload
Allows to provide function to create custom payload for user creation method based on data from OAuth API
Type declaration
Parameters
oauthUser: OAuthUser
Returns Promise<any>
Interface to use for all custom implementations of OAuth providers