Class OnlineAccessActionToken

java.lang.Object
org.keycloak.representations.JsonWebToken
org.keycloak.models.DefaultActionTokenKey
org.keycloak.authentication.actiontoken.DefaultActionToken
net.optionfactory.keycloak.onlineaccess.OnlineAccessActionToken
All Implemented Interfaces:
Serializable, org.keycloak.models.SingleUseObjectKeyModel, org.keycloak.models.SingleUseObjectValueModel, org.keycloak.Token

public class OnlineAccessActionToken extends org.keycloak.authentication.actiontoken.DefaultActionToken
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.keycloak.authentication.actiontoken.DefaultActionToken

    ACTION_TOKEN_BASIC_CHECKS, JSON_FIELD_AUTHENTICATION_SESSION_ID, JSON_FIELD_EMAIL

    Fields inherited from class org.keycloak.models.DefaultActionTokenKey

    ACTION_TOKEN_USER_ID, JSON_FIELD_ACTION_VERIFICATION_NONCE

    Fields inherited from class org.keycloak.representations.JsonWebToken

    AUD, audience, AZP, exp, iat, id, issuedFor, issuer, nbf, otherClaims, subject, SUBJECT, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    OnlineAccessActionToken(String userId, int absoluteExpirationInSecs, String clientId, String redirectUri)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setRedirectUri(String redirectUri)
     

    Methods inherited from class org.keycloak.authentication.actiontoken.DefaultActionToken

    getCompoundAuthenticationSessionId, getEmail, getNote, getNotes, removeNote, serialize, setCompoundAuthenticationSessionId, setEmail, setNote

    Methods inherited from class org.keycloak.models.DefaultActionTokenKey

    from, getActionId, getActionVerificationNonce, getUserId

    Methods inherited from class org.keycloak.representations.JsonWebToken

    addAudience, audience, exp, getAudience, getCategory, getExp, getIat, getId, getIssuedFor, getIssuer, getNbf, getOtherClaims, getSubject, getType, hasAnyAudience, hasAudience, iat, id, isActive, isActive, isExpired, isIssuedBeforeSessionStart, isNotBefore, issuedFor, issuedNow, issuer, nbf, setOtherClaims, setSubject, subject, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.keycloak.models.SingleUseObjectKeyModel

    getExp, getExpiration, serializeKey
  • Field Details

  • Constructor Details

    • OnlineAccessActionToken

      public OnlineAccessActionToken(String userId, int absoluteExpirationInSecs, String clientId, String redirectUri)
  • Method Details

    • getRedirectUri

      public String getRedirectUri()
    • setRedirectUri

      public void setRedirectUri(String redirectUri)