Interface SingleUseObjectKeyModel

All Known Implementing Classes:
DefaultActionToken, DefaultActionTokenKey, ExecuteActionsActionToken, IdpVerifyAccountLinkActionToken, InviteOrgActionToken, ResetCredentialsActionToken, UpdateEmailActionToken, VerifyEmailActionToken

public interface SingleUseObjectKeyModel
Author:
hmlnarik
  • Method Details

    • getUserId

      String getUserId()
      Returns:
      ID of user which this token is for.
    • getActionId

      String getActionId()
      Returns:
      Action identifier this token is for.
    • getExp

      Long getExp()
      Returns absolute number of seconds since the epoch in UTC timezone when the token expires.
    • getExpiration

      @Deprecated default int getExpiration()
      Deprecated.
      int will overflow with values after 2038. Use getExp() instead.
    • getActionVerificationNonce

      UUID getActionVerificationNonce()
      Returns:
      Single-use random value used for verification whether the relevant action is allowed.
    • serializeKey

      default String serializeKey()