ktor-utils / io.ktor.util / AlwaysFailNonceManager

AlwaysFailNonceManager

object AlwaysFailNonceManager : NonceManager
Deprecated: This should be removed with OAuth2StateProvider

Stub implementation that always fails. Will be removed so no public signatures should rely on it

Functions

newNonce

suspend fun newNonce(): String

Generate new nonce instance

verifyNonce

suspend fun verifyNonce(nonce: String): Boolean

Verify nonce value