Interface AuthenticationContext

All Superinterfaces:
Serializable

public interface AuthenticationContext extends Serializable
This class represents OAuth 2.0 authentication context.
  • Method Details

    • getResponseType

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

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

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

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

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

      List<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

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

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

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