DefaultOAuth2StateProvider

object DefaultOAuth2StateProvider : OAuth2StateProvider

The default state provider that does generate random nonce and don't keep them

Functions

Link copied to clipboard
open suspend override fun getState(call: ApplicationCall): String

Generates a new state for given call

Link copied to clipboard
open suspend override fun verifyState(state: String)

Verifies state and throws exceptions if it's not valid