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. Returns either a User if all went ok or a Result that the controller sends to the browser (eg: in the case of OAuth for example where the user needs to be redirected to the service provider)
The url for this provider.
The url for this provider. This is used in the login page template to point each icon to the provider url.
Subclasses need to implement the authentication logic.
Subclasses need to implement the authentication logic. This method needs to return a User object that then gets passed to the fillProfile method
Either a Result or a User
Subclasses need to implement this method to populate the User object with profile information from the service provider.
Subclasses need to implement this method to populate the User object with profile information from the service provider.
The user object to be populated
A copy of the user object with the new values set
Reads a property from the application.conf
Reads a property from the application.conf
Registers the provider in the Provider Registry
Registers the provider in the Provider Registry
Unregisters the provider
Unregisters the provider
The property key used for all the provider properties.
The property key used for all the provider properties.
Returns the provider name
Returns the provider name
A Twitter Provider