public interface OpenIdClient
Modifier and Type | Method and Description |
---|---|
CompletionStage<String> |
redirectURL(String openID,
String callbackURL)
Retrieve the URL where the user should be redirected to start the OpenID authentication
process.
|
CompletionStage<String> |
redirectURL(String openID,
String callbackURL,
Map<String,String> axRequired)
Retrieve the URL where the user should be redirected to start the OpenID authentication process
|
CompletionStage<String> |
redirectURL(String openID,
String callbackURL,
Map<String,String> axRequired,
Map<String,String> axOptional)
Retrieve the URL where the user should be redirected to start the OpenID authentication
process.
|
CompletionStage<String> |
redirectURL(String openID,
String callbackURL,
Map<String,String> axRequired,
Map<String,String> axOptional,
String realm)
Retrieve the URL where the user should be redirected to start the OpenID authentication
process.
|
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
|
CompletionStage<String> redirectURL(String openID, String callbackURL)
openID
- the open IDcallbackURL
- the callback url.CompletionStage<String> redirectURL(String openID, String callbackURL, Map<String,String> axRequired)
openID
- the open IDcallbackURL
- the callback url.axRequired
- the required axCompletionStage<String> redirectURL(String openID, String callbackURL, Map<String,String> axRequired, Map<String,String> axOptional)
openID
- the open IDcallbackURL
- the callback url.axRequired
- the required axaxOptional
- the optional axCompletionStage<String> redirectURL(String openID, String callbackURL, Map<String,String> axRequired, Map<String,String> axOptional, String realm)
openID
- the open IDcallbackURL
- the callback url.axRequired
- the required axaxOptional
- the optional axrealm
- the HTTP realmCompletionStage<UserInfo> verifiedId(Http.RequestHeader request)
request
- the request header