create

suspend fun create(expiration: Instant = Clock.System.now() + 10.minutes): String

Generates a nonce/challenge string.

Return

new unique nonce

Parameters

expiration

time when this nonce becomes invalid (10 minutes from now by default)