Class IdPCallback
java.lang.Object
org.forgerock.openam.authentication.callbacks.IdPCallback
- All Implemented Interfaces:
Callback
Class representative of a IdPCallback Object which instructs a client to
handle Social Login.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdPCallback.Builder
builder()
Get a builder for constructing a new IdPCallback.Gets the acrValues.Gets the clientId.static String
Gets the node name.getNonce()
Gets the nonce.Gets the provider.Gets the redirectUri.Gets the request.Gets the requestUri.getScope()
Gets the scope.getToken()
Gets the token.Gets the tokenType.Gets the userInfo.boolean
Gets the requestNativeAppForUserInfo.void
setAcrValues
(List<String> acrValues) Sets the acrValues.void
setClientId
(String clientId) Sets the clientId.void
Sets the nonce.void
setProvider
(String provider) Sets the provider.void
setRedirectUri
(String redirectUri) Sets the redirectUri.void
setRequest
(String request) Sets the request.void
setRequestNativeAppForUserInfo
(boolean requestNativeAppForUserInfo) Sets the requestNativeAppForUserInfo.void
setRequestUri
(String requestUri) Sets the requestUri.void
Sets the scope.void
Sets the token.void
setTokenType
(String tokenType) Sets the tokenType.void
setUserInfo
(String userInfo) Sets the userInfo.
-
Method Details
-
getNodeName
Gets the node name.- Returns:
- the node name
-
setProvider
Sets the provider.- Parameters:
provider
- The provider name
-
setClientId
Sets the clientId.- Parameters:
clientId
- The provider clientId
-
setRedirectUri
Sets the redirectUri.- Parameters:
redirectUri
- The provider redirectURI
-
setScope
Sets the scope.- Parameters:
scope
- The requested scope
-
setNonce
Sets the nonce.- Parameters:
nonce
- Nonce for the Social Login request
-
setRequest
Sets the request.- Parameters:
request
- The Request Object parameter
-
setRequestUri
Sets the requestUri.- Parameters:
requestUri
- The Request URI parameter
-
setAcrValues
Sets the acrValues.- Parameters:
acrValues
- The Requested Authentication Context Class Reference values
-
getProvider
Gets the provider.- Returns:
- the provider name
-
getClientId
Gets the clientId.- Returns:
- the provider clientId
-
getRedirectUri
Gets the redirectUri.- Returns:
- the provider redirectURI
-
getScope
Gets the scope.- Returns:
- the requested scope
-
getNonce
Gets the nonce.- Returns:
- the nonce
-
getRequest
Gets the request.- Returns:
- the request.
-
getRequestUri
Gets the requestUri.- Returns:
- the requestUri
-
getAcrValues
Gets the acrValues.- Returns:
- the acrValues
-
getToken
Gets the token.- Returns:
- the token
-
getTokenType
Gets the tokenType.- Returns:
- the tokenType
-
getUserInfo
Gets the userInfo.- Returns:
- the userInfo
-
isRequestNativeAppForUserInfo
Gets the requestNativeAppForUserInfo.- Returns:
- the requestNativeAppForUserInfo
-
setToken
Sets the token.- Parameters:
token
- The token
-
setTokenType
Sets the tokenType.- Parameters:
tokenType
- The tokenType
-
setUserInfo
Sets the userInfo.- Parameters:
userInfo
- The userInfo
-
setRequestNativeAppForUserInfo
Sets the requestNativeAppForUserInfo.- Parameters:
requestNativeAppForUserInfo
- The requestNativeAppForUserInfo
-
builder
Get a builder for constructing a new IdPCallback.- Returns:
- a new builder
-