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 |
|---|---|
java.util.concurrent.CompletionStage<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
|
java.util.concurrent.CompletionStage<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
|
java.util.concurrent.CompletionStage<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
|
java.util.concurrent.CompletionStage<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
|
java.util.concurrent.CompletionStage<UserInfo> |
verifiedId()
Check the identity of the user from the current request, that should be the callback from the OpenID server
|
java.util.concurrent.CompletionStage<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 java.util.concurrent.CompletionStage<java.lang.String> redirectURL(java.lang.String openID,
java.lang.String callbackURL)
redirectURL in interface OpenIdClientpublic java.util.concurrent.CompletionStage<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 OpenIdClientpublic java.util.concurrent.CompletionStage<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 OpenIdClientpublic java.util.concurrent.CompletionStage<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 OpenIdClientpublic java.util.concurrent.CompletionStage<UserInfo> verifiedId(Http.RequestHeader request)
verifiedId in interface OpenIdClientpublic java.util.concurrent.CompletionStage<UserInfo> verifiedId()
verifiedId in interface OpenIdClient