BaseYahooProvider

play.silhouette.impl.providers.openid.BaseYahooProvider

Base Yahoo OpenID Provider.

Attributes

See also
Graph
Supertypes
trait Logger
trait Provider
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Types

override type Content = Unit

The content type to parse a profile from.

The content type to parse a profile from.

Attributes

Inherited types

type A = OpenIDInfo

The type of the auth info.

The type of the auth info.

Attributes

Inherited from:
OpenIDProvider

The type of the profile a profile builder is responsible for.

The type of the profile a profile builder is responsible for.

Attributes

Inherited from:
SocialProfileBuilder

The type of the concrete implementation of this abstract type.

The type of the concrete implementation of this abstract type.

Attributes

Inherited from:
SocialProvider

The settings type.

The settings type.

Attributes

Inherited from:
OpenIDProvider

Value members

Concrete methods

override protected def buildProfile(authInfo: OpenIDInfo): Future[Profile]

Builds the social profile.

Builds the social profile.

Value parameters

authInfo

The auth info received from the provider.

Attributes

Returns

On success the build social profile, otherwise a failure.

Definition Classes

Inherited methods

def authenticate[B]()(implicit request: ExtractableRequest[B]): Future[Either[Result, OpenIDInfo]]

Starts the authentication process.

Starts the authentication process.

Type parameters

B

The type of the request body.

Value parameters

request

The current request.

Attributes

Returns

Either a Result or the auth info from the provider.

Inherited from:
OpenIDProvider
protected def resolveCallbackURL(url: String)(implicit request: RequestHeader): String

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.

Value parameters

request

The current request.

url

The url to resolve.

Attributes

Returns

The absolute url.

Inherited from:
SocialProvider
def retrieveProfile(authInfo: A): Future[Profile]

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.

Value parameters

authInfo

The auth info for which the profile information should be retrieved.

Attributes

Returns

The profile information for the given auth info.

Inherited from:
SocialProvider

Gets the provider settings.

Gets the provider settings.

Attributes

Returns

The provider settings.

Inherited from:
SocialProvider

Gets a provider initialized with a new settings object.

Gets a provider initialized with a new settings object.

Value parameters

f

A function which gets the settings passed and returns different settings.

Attributes

Returns

An instance of the provider initialized with new settings.

Inherited from:
SocialProvider

Concrete fields

override val id: String

Gets the provider ID.

Gets the provider ID.

Attributes

Returns

The provider ID.

override protected val urls: Map[String, String]

Defines the URLs that are needed to retrieve the profile data.

Defines the URLs that are needed to retrieve the profile data.

Attributes

Inherited fields

val Mode: String

Attributes

Inherited from:
OpenIDConstants
val OpenID: String

Attributes

Inherited from:
OpenIDConstants
protected val httpLayer: HTTPLayer

The HTTP layer implementation.

The HTTP layer implementation.

Attributes

Inherited from:
SocialProvider
val logger: Logger

A named logger instance.

A named logger instance.

Attributes

Inherited from:
Logger

Implicits

Inherited implicits

implicit override val executionContext: ExecutionContext

The execution context to handle the asynchronous operations.

The execution context to handle the asynchronous operations.

Attributes

Inherited from:
SocialProvider