AuthSession

@Serializable
data class AuthSession(val accessToken: String, val refreshToken: String?, val sessionId: String?)

Session data returned after successful WebAuthn authentication or registration.

This is the internal representation used by the SDK. Token storage is the responsibility of the caller (PasskeyManager or PasskeyService).

Constructors

Link copied to clipboard
constructor(accessToken: String, refreshToken: String?, sessionId: String?)

Properties

Link copied to clipboard

JWT access token for API authentication

Link copied to clipboard

Optional refresh token for obtaining new access tokens

Link copied to clipboard

Optional session identifier from the authentication flow