org.keycloak.models

## Interface ActionTokenKeyModel

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

      public interface ActionTokenKeyModel

  Author:
    hmlnarik

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getActionId()`
    `UUID` | `getActionVerificationNonce()`
    `int` | `getExpiration()` Returns absolute number of seconds since the epoch in UTC timezone when the token expires.
    `String` | `getUserId()`
    `default String` | `serializeKey()`

- - ### Method Detail

    - #### 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()

Copyright © 2020 JBoss by Red Hat. All rights reserved.