com.mohiva.play.silhouette.impl.providers
The type of the auth info.
The type of the auth info.
The content type to parse a profile from.
The content type to parse a profile from.
The type of the profile a profile builder is responsible for.
The type of the profile a profile builder is responsible for.
The type of the concrete implementation of this abstract type.
The type of the concrete implementation of this abstract type.
The settings type.
The settings type.
Subclasses need to implement this method to populate the profile information from the service provider.
Subclasses need to implement this method to populate the profile information from the service provider.
The auth info received from the provider.
On success the build social profile, otherwise a failure.
The HTTP layer implementation.
The HTTP layer implementation.
Gets the provider ID.
Returns the profile parser implementation.
Returns the profile parser implementation.
The profile parser implementation.
Gets the provider settings.
The social state handler implementation.
The social state handler implementation.
Gets the URLs that are needed to retrieve the profile data.
Gets the URLs that are needed to retrieve the profile data.
Some providers need more than one request to different URLs to query the profile data. So we use a Map here to allow defining multiple URLs.
The URLs that are needed to retrieve the profile data.
Gets a provider initialized with a new settings object.
Gets a provider initialized with a new settings object.
A function which gets the settings passed and returns different settings.
An instance of the provider initialized with new settings.
The default access token response code.
The default access token response code.
Override this if a specific provider uses another HTTP status code for a successful access token response.
The implicit access token reads.
The implicit access token reads.
Override this if a specific provider needs another reads.
Authenticates the user and returns the auth information and the user state.
Authenticates the user and returns the auth information and the user state.
Returns either a StatefulAuthInfo if all went OK or a play.api.mvc.Result
that the controller
sends to the browser (e.g.: in the case of OAuth where the user needs to be redirected to the service
provider).
The type of the user state.
The type of the request body.
The JSON format to the transform the user state into JSON.
The request.
The class tag for the user state item.
Either a play.api.mvc.Result
or the StatefulAuthInfo from the provider.
Starts the authentication process.
Starts the authentication process.
The type of the request body.
The current request.
Either a Result or the auth info from the provider.
Builds the OAuth2 info from response.
Builds the OAuth2 info from response.
The response from the provider.
The OAuth2 info on success, otherwise a failure.
The execution context to handle the asynchronous operations.
The execution context to handle the asynchronous operations.
Gets the access token.
Gets the access token.
The access code.
The current request.
The info containing the access token.
Handles the authorization step of the OAuth2 flow.
Handles the authorization step of the OAuth2 flow.
The type of the request body.
The state handler to use.
The request.
The redirect to the authorization URL of the OAuth2 provider.
Handles the OAuth2 flow.
Handles the OAuth2 flow.
The left flow is the authorization flow, which will be processed, if no code
parameter exists
in the request. The right flow is the access token flow, which will be executed after a successful
authorization.
The return type of the left flow.
The return type of the right flow.
The type of the request body.
The authorization flow.
The access token flow.
The request.
Either the left or the right flow.
A list with headers to send to the API.
A list with headers to send to the API.
A named logger instance.
A named logger instance.
Resolves the url to be absolute relative to the request.
Resolves the url to be absolute relative to the request.
This will pass the url through if its already absolute.
The url to resolve.
The current request.
The absolute url.
Retrieves the user profile for the given auth info.
Retrieves the user profile for the given auth info.
This method can be used to retrieve the profile information for an already authenticated identity.
The auth info for which the profile information should be retrieved.
The profile information for the given auth info.
Base implementation for all OAuth2 providers.