public class OpenIdConsumer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
OPENID_REQUEST_TOKEN |
| Constructor and Description |
|---|
OpenIdConsumer() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAssociationURL(String url)
Provides an association URL.
|
static String |
getRequestTokenURL(String requestTokenUrl,
String returnTo,
String realm,
String assocHandle,
String consumerURL,
String scope)
It obtains the request token.
|
static Profile |
getUserInfo(Map<String,String> requestParams)
Parses the user info from request
|
public static final String OPENID_REQUEST_TOKEN
public static String getAssociationURL(String url) throws Exception
url - Exceptionpublic static String getRequestTokenURL(String requestTokenUrl, String returnTo, String realm, String assocHandle, String consumerURL, String scope) throws Exception
requestTokenUrl - the Request Token URLreturnTo - Callback URLrealm - RealmassocHandle - consumerURL - scope - ExceptionCopyright © 2018. All Rights Reserved.