public interface OpenIdClient
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(Http.RequestHeader request)
Check the identity of the user from the current request, that should be the callback from the
OpenID server
|
java.util.concurrent.CompletionStage<java.lang.String> redirectURL(java.lang.String openID, java.lang.String callbackURL)
openID
- the open IDcallbackURL
- the callback url.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)
openID
- the open IDcallbackURL
- the callback url.axRequired
- the required axjava.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)
openID
- the open IDcallbackURL
- the callback url.axRequired
- the required axaxOptional
- the optional axjava.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)
openID
- the open IDcallbackURL
- the callback url.axRequired
- the required axaxOptional
- the optional axrealm
- the HTTP realmjava.util.concurrent.CompletionStage<UserInfo> verifiedId(Http.RequestHeader request)
request
- the request header