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

main.com.stytch.java.common.StytchB2BSessionClaim.kt Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
package com.stytch.java.common

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import com.stytch.java.consumer.models.sessions.AuthenticationFactor

@JsonClass(generateAdapter = true)
internal data class StytchB2BSessionClaim(
    val id: String,
    @Json(name = "organization_id")
    val organizationId: String,
    @Json(name = "started_at")
    val startedAt: String,
    @Json(name = "last_accessed_at")
    val lastAccessedAt: String,
    @Json(name = "expires_at")
    val expiresAt: String,
    @Json(name = "authentication_factors")
    val authenticationFactors: List,
    val roles: List,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy