
com.workos.usermanagement.models.MagicAuthEventData.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of workos Show documentation
Show all versions of workos Show documentation
The WorkOS Kotlin library provides convenient access to the WorkOS API from applications written in JVM compatible languages.
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