Interface AuthenticationContext

  • All Superinterfaces:
    java.io.Serializable

    public interface AuthenticationContext
    extends java.io.Serializable
    This class represents OAuth 2.0 authentication context.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getAuthenticationClassReference()
      Get the 'acr_values' request parameter If 'acr' claim is requested, it is retrievable using getIdTokenClaims() or getUserInfoClaims()
      java.util.List<Claim> getIdTokenClaims()
      Get the list of id_token claims
      java.lang.String getIdTokenHint()
      Get the 'id_token_hint' request parameter
      java.lang.String getLoginHint()
      Get the 'login_hint' request parameter
      java.lang.Integer getMaxAge()
      Get the 'max_age' request parameter
      java.util.List<java.lang.String> getPrompt()
      Get the 'prompt' request parameter
      java.util.List<java.lang.String> getResponseType()
      Get the response_type request parameter
      java.util.List<java.lang.String> getScope()
      Get the scope request parameter
      java.util.List<Claim> getUserInfoClaims()
      Get the list of userinfo claims
    • Method Detail

      • getResponseType

        java.util.List<java.lang.String> getResponseType()
        Get the response_type request parameter
        Returns:
        requested response_type parameter
      • getScope

        java.util.List<java.lang.String> getScope()
        Get the scope request parameter
        Returns:
        requested scope parameter if any, otherwise null
      • getIdTokenClaims

        java.util.List<Claim> getIdTokenClaims()
        Get the list of id_token claims
        Returns:
        requested id_token claims if any, otherwise null
      • getUserInfoClaims

        java.util.List<Claim> getUserInfoClaims()
        Get the list of userinfo claims
        Returns:
        requested userinfo claims if any, otherwise null
      • getPrompt

        java.util.List<java.lang.String> getPrompt()
        Get the 'prompt' request parameter
        Returns:
        requested 'prompt' parameter if any, otherwise null
      • getAuthenticationClassReference

        java.util.List<java.lang.String> getAuthenticationClassReference()
        Get the 'acr_values' request parameter If 'acr' claim is requested, it is retrievable using getIdTokenClaims() or getUserInfoClaims()
        Returns:
        requested 'acr_values' if any, otherwise null
      • getIdTokenHint

        java.lang.String getIdTokenHint()
        Get the 'id_token_hint' request parameter
        Returns:
        'id_token_hint' parameter if any, otherwise null
      • getLoginHint

        java.lang.String getLoginHint()
        Get the 'login_hint' request parameter
        Returns:
        'login_hint' parameter if any, otherwise null
      • getMaxAge

        java.lang.Integer getMaxAge()
        Get the 'max_age' request parameter
        Returns:
        requested 'max_age' value if any, otherwise null