MagicLinks
interface MagicLinks
MagicLinks interface that encompasses authentication functions as well as other related functionality
Types
Link copied to clipboard
data class AuthParameters @JvmOverloads constructor(val token: String, val sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES)
Data class used for wrapping parameters used with MagicLinks authentication
Link copied to clipboard
interface EmailMagicLinks
Provides all possible ways to call EmailMagicLinks endpoints
Functions
Link copied to clipboard
Authenticate a user given a magic link. This endpoint verifies that the magic link token is valid, hasn't expired or been previously used.
Link copied to clipboard
abstract fun authenticateCompletable(parameters: MagicLinks.AuthParameters): CompletableFuture<AuthResponse>
Authenticate a user given a magic link. This endpoint verifies that the magic link token is valid, hasn't expired or been previously used.