Class CIBAAuthenticationRequest

java.lang.Object
org.keycloak.representations.JsonWebToken
org.keycloak.protocol.oidc.grants.ciba.channel.CIBAAuthenticationRequest
All Implemented Interfaces:
Serializable, Token

public class CIBAAuthenticationRequest extends JsonWebToken

Represents an authentication request sent by a consumption device (CD).

A authentication request can be serialized to a JWE so that it can be exchanged with authentication devices (AD) to communicate and authorize the authentication request made by consumption devices (CDs).

Author:
Takashi Norimatsu
See Also:
  • Field Details

  • Constructor Details

    • CIBAAuthenticationRequest

      public CIBAAuthenticationRequest()
    • CIBAAuthenticationRequest

      public CIBAAuthenticationRequest(KeycloakSession session, UserModel user, ClientModel client)
  • Method Details

    • deserialize

      public static CIBAAuthenticationRequest deserialize(KeycloakSession session, String jwe)
      Deserialize the given jwe to a CIBAAuthenticationRequest instance.
      Parameters:
      session - the session
      jwe - the authentication request in JWE format.
      Returns:
      the authentication request instance
      Throws:
      Exception
    • getScope

      public String getScope()
    • setScope

      public void setScope(String scope)
    • getAuthResultId

      public String getAuthResultId()
    • setAuthResultId

      public void setAuthResultId(String authResultId)
    • getBindingMessage

      public String getBindingMessage()
    • setBindingMessage

      public void setBindingMessage(String binding_message)
    • getAcrValues

      public String getAcrValues()
    • setAcrValues

      public void setAcrValues(String acrValues)
    • serialize

      public String serialize(KeycloakSession session)
      Serializes this instance to a JWE.
      Parameters:
      session - the session
      Returns:
      the JWE
    • setClient

      public void setClient(ClientModel client)
    • getClient

      public ClientModel getClient()
    • getClientNotificationToken

      public String getClientNotificationToken()
    • setClientNotificationToken

      public void setClientNotificationToken(String clientNotificationToken)
    • setUser

      public void setUser(UserModel user)
    • getUser

      public UserModel getUser()