public class DefaultOpenIdClient extends java.lang.Object implements OpenIdClient
Constructor and Description |
---|
DefaultOpenIdClient(play.api.libs.openid.OpenIdClient client) |
Modifier and Type | Method and Description |
---|---|
F.Promise<java.lang.String> |
redirectURL(java.lang.String openID,
java.lang.String callbackURL)
Retrieve the URL where the user should be redirected to start the OpenID authentication process
|
F.Promise<java.lang.String> |
redirectURL(java.lang.String openID,
java.lang.String callbackURL,
java.util.Map<java.lang.String,java.lang.String> axRequired)
Retrieve the URL where the user should be redirected to start the OpenID authentication process
|
F.Promise<java.lang.String> |
redirectURL(java.lang.String openID,
java.lang.String callbackURL,
java.util.Map<java.lang.String,java.lang.String> axRequired,
java.util.Map<java.lang.String,java.lang.String> axOptional)
Retrieve the URL where the user should be redirected to start the OpenID authentication process
|
F.Promise<java.lang.String> |
redirectURL(java.lang.String openID,
java.lang.String callbackURL,
java.util.Map<java.lang.String,java.lang.String> axRequired,
java.util.Map<java.lang.String,java.lang.String> axOptional,
java.lang.String realm)
Retrieve the URL where the user should be redirected to start the OpenID authentication process
|
F.Promise<UserInfo> |
verifiedId()
Check the identity of the user from the current request, that should be the callback from the OpenID server
|
F.Promise<UserInfo> |
verifiedId(Http.RequestHeader request)
Check the identity of the user from the current request, that should be the callback from the OpenID server
|
@Inject public DefaultOpenIdClient(play.api.libs.openid.OpenIdClient client)
public F.Promise<java.lang.String> redirectURL(java.lang.String openID, java.lang.String callbackURL)
redirectURL
in interface OpenIdClient
public F.Promise<java.lang.String> redirectURL(java.lang.String openID, java.lang.String callbackURL, java.util.Map<java.lang.String,java.lang.String> axRequired)
redirectURL
in interface OpenIdClient
public F.Promise<java.lang.String> redirectURL(java.lang.String openID, java.lang.String callbackURL, java.util.Map<java.lang.String,java.lang.String> axRequired, java.util.Map<java.lang.String,java.lang.String> axOptional)
redirectURL
in interface OpenIdClient
public F.Promise<java.lang.String> redirectURL(java.lang.String openID, java.lang.String callbackURL, java.util.Map<java.lang.String,java.lang.String> axRequired, java.util.Map<java.lang.String,java.lang.String> axOptional, java.lang.String realm)
redirectURL
in interface OpenIdClient
public F.Promise<UserInfo> verifiedId(Http.RequestHeader request)
verifiedId
in interface OpenIdClient
public F.Promise<UserInfo> verifiedId()
verifiedId
in interface OpenIdClient