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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic IdPCallback.Builderbuilder()Get a builder for constructing a new IdPCallback.Gets the acrValues.Gets the clientId.static StringGets 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.booleanGets the requestNativeAppForUserInfo.voidsetAcrValues(List<String> acrValues) Sets the acrValues.voidsetClientId(String clientId) Sets the clientId.voidSets the nonce.voidsetProvider(String provider) Sets the provider.voidsetRedirectUri(String redirectUri) Sets the redirectUri.voidsetRequest(String request) Sets the request.voidsetRequestNativeAppForUserInfo(boolean requestNativeAppForUserInfo) Sets the requestNativeAppForUserInfo.voidsetRequestUri(String requestUri) Sets the requestUri.voidSets the scope.voidSets the token.voidsetTokenType(String tokenType) Sets the tokenType.voidsetUserInfo(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
-