Defines the request format for api authentication requests
Defines the request format for api authentication requests
the user email
the OAuth2Info as returned by some Oauth2 service on the client side (eg: JS app)
The id for this provider.
The id for this provider.
A Reads instance for the LoginJson case class
A Reads instance for the OAuth2Info case class
Subclasses need to implement this to specify the authentication method
Subclasses need to implement this to specify the authentication method
Authenticates the user and fills the profile information.
Authenticates the user and fills the profile information.
the current request
a future AuthenticationResult
Authenticates a user
Authenticates a user
The error returned for malformed requests
Returns the provider name
Returns the provider name
Base class for all OAuth2 providers