All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.workos.usermanagement.models.MagicAuthEventData.kt Maven / Gradle / Ivy

Go to download

The WorkOS Kotlin library provides convenient access to the WorkOS API from applications written in JVM compatible languages.

There is a newer version: 4.9.0
Show newest version
package com.workos.usermanagement.models

import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonProperty

/**
 * A Magic Auth code that allows the recipient to authenticate to your app
 *
 * @param id The unique ID of the Magic Auth code.
 * @param userId The unique ID of the user.
 * @param email The email address of the user.
 * @param expiresAt The timestamp when the Magic Auth code will expire.
 * @param createdAt The timestamp when the Magic Auth code was created.
 * @param updatedAt The timestamp when the Magic Auth code was last updated.
 */
data class MagicAuthEventData @JsonCreator constructor(
  @JsonProperty("id")
  val id: String,

  @JsonProperty("user_id")
  val userId: String,

  @JsonProperty("email")
  val email: String,

  @JsonProperty("expires_at")
  val expiresAt: String,

  @JsonProperty("created_at")
  val createdAt: String,

  @JsonProperty("updated_at")
  val updatedAt: String
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy