Interface SingleUseObjectKeyModel

All Known Implementing Classes:
DefaultActionToken, DefaultActionTokenKey, ExecuteActionsActionToken, IdpVerifyAccountLinkActionToken, 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.
    • getExpiration

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

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

      default String serializeKey()