java.lang.Object
org.forgerock.openam.authentication.callbacks.IdPCallback
All Implemented Interfaces:
Callback

@Supported public final class IdPCallback extends Object implements Callback
Class representative of a IdPCallback Object which instructs a client to handle Social Login.
  • Method Details

    • getNodeName

      @Supported public static String getNodeName()
      Gets the node name.
      Returns:
      the node name
    • setProvider

      @Supported public void setProvider(String provider)
      Sets the provider.
      Parameters:
      provider - The provider name
    • setClientId

      @Supported public void setClientId(String clientId)
      Sets the clientId.
      Parameters:
      clientId - The provider clientId
    • setRedirectUri

      @Supported public void setRedirectUri(String redirectUri)
      Sets the redirectUri.
      Parameters:
      redirectUri - The provider redirectURI
    • setScope

      @Supported public void setScope(List<String> scope)
      Sets the scope.
      Parameters:
      scope - The requested scope
    • setNonce

      @Supported public void setNonce(String nonce)
      Sets the nonce.
      Parameters:
      nonce - Nonce for the Social Login request
    • setRequest

      @Supported public void setRequest(String request)
      Sets the request.
      Parameters:
      request - The Request Object parameter
    • setRequestUri

      @Supported public void setRequestUri(String requestUri)
      Sets the requestUri.
      Parameters:
      requestUri - The Request URI parameter
    • setAcrValues

      @Supported public void setAcrValues(List<String> acrValues)
      Sets the acrValues.
      Parameters:
      acrValues - The Requested Authentication Context Class Reference values
    • getProvider

      @Supported public String getProvider()
      Gets the provider.
      Returns:
      the provider name
    • getClientId

      @Supported public String getClientId()
      Gets the clientId.
      Returns:
      the provider clientId
    • getRedirectUri

      @Supported public String getRedirectUri()
      Gets the redirectUri.
      Returns:
      the provider redirectURI
    • getScope

      @Supported public List<String> getScope()
      Gets the scope.
      Returns:
      the requested scope
    • getNonce

      @Supported public String getNonce()
      Gets the nonce.
      Returns:
      the nonce
    • getRequest

      @Supported public String getRequest()
      Gets the request.
      Returns:
      the request.
    • getRequestUri

      @Supported public String getRequestUri()
      Gets the requestUri.
      Returns:
      the requestUri
    • getAcrValues

      @Supported public List<String> getAcrValues()
      Gets the acrValues.
      Returns:
      the acrValues
    • getToken

      @Supported public String getToken()
      Gets the token.
      Returns:
      the token
    • getTokenType

      @Supported public String getTokenType()
      Gets the tokenType.
      Returns:
      the tokenType
    • getUserInfo

      @Supported public String getUserInfo()
      Gets the userInfo.
      Returns:
      the userInfo
    • isRequestNativeAppForUserInfo

      @Supported public boolean isRequestNativeAppForUserInfo()
      Gets the requestNativeAppForUserInfo.
      Returns:
      the requestNativeAppForUserInfo
    • setToken

      @Supported public void setToken(String token)
      Sets the token.
      Parameters:
      token - The token
    • setTokenType

      @Supported public void setTokenType(String tokenType)
      Sets the tokenType.
      Parameters:
      tokenType - The tokenType
    • setUserInfo

      @Supported public void setUserInfo(String userInfo)
      Sets the userInfo.
      Parameters:
      userInfo - The userInfo
    • setRequestNativeAppForUserInfo

      @Supported public void setRequestNativeAppForUserInfo(boolean requestNativeAppForUserInfo)
      Sets the requestNativeAppForUserInfo.
      Parameters:
      requestNativeAppForUserInfo - The requestNativeAppForUserInfo
    • builder

      @Supported public static IdPCallback.Builder builder()
      Get a builder for constructing a new IdPCallback.
      Returns:
      a new builder