Class CIBAAuthenticationRequest
java.lang.Object
org.keycloak.representations.JsonWebToken
org.keycloak.protocol.oidc.grants.ciba.channel.CIBAAuthenticationRequest
- All Implemented Interfaces:
Serializable
,Token
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 Summary
-
Constructor Summary
ConstructorDescriptionCIBAAuthenticationRequest
(KeycloakSession session, UserModel user, ClientModel client) -
Method Summary
Modifier and TypeMethodDescriptionstatic CIBAAuthenticationRequest
deserialize
(KeycloakSession session, String jwe) Deserialize the givenjwe
to aCIBAAuthenticationRequest
instance.getScope()
getUser()
serialize
(KeycloakSession session) Serializes this instance to a JWE.void
setAcrValues
(String acrValues) void
setAuthResultId
(String authResultId) void
setBindingMessage
(String binding_message) void
setClient
(ClientModel client) void
setClientNotificationToken
(String clientNotificationToken) void
void
Methods inherited from class org.keycloak.representations.JsonWebToken
addAudience, audience, exp, expiration, getAudience, getCategory, getExp, getExpiration, getIat, getId, getIssuedAt, getIssuedFor, getIssuer, getNbf, getNotBefore, getOtherClaims, getSubject, getType, hasAnyAudience, hasAudience, iat, id, isActive, isActive, isExpired, isIssuedBeforeSessionStart, isNotBefore, issuedAt, issuedFor, issuedNow, issuer, nbf, notBefore, setOtherClaims, setSubject, subject, type
-
Field Details
-
SESSION_STATE
- See Also:
-
AUTH_RESULT_ID
- See Also:
-
scope
-
authResultId
-
bindingMessage
-
acrValues
-
client
-
clientNotificationToken
-
user
-
-
Constructor Details
-
CIBAAuthenticationRequest
public CIBAAuthenticationRequest() -
CIBAAuthenticationRequest
-
-
Method Details
-
deserialize
Deserialize the givenjwe
to aCIBAAuthenticationRequest
instance.- Parameters:
session
- the sessionjwe
- the authentication request in JWE format.- Returns:
- the authentication request instance
- Throws:
Exception
-
getScope
-
setScope
-
getAuthResultId
-
setAuthResultId
-
getBindingMessage
-
setBindingMessage
-
getAcrValues
-
setAcrValues
-
serialize
Serializes this instance to a JWE.- Parameters:
session
- the session- Returns:
- the JWE
-
setClient
-
getClient
-
getClientNotificationToken
-
setClientNotificationToken
-
setUser
-
getUser
-