oauth
suspend fun PipelineContext<Unit, ApplicationCall>.oauth(
client: HttpClient,
dispatcher: CoroutineDispatcher,
providerLookup: ApplicationCall.() -> OAuthServerSettings?,
urlProvider: ApplicationCall.(OAuthServerSettings) -> String
): Unit
Deprecated: Install and configure OAuth instead.
Install both OAuth1a and OAuth2 authentication helpers that do redirect to OAuth server authorization page and handle corresponding callbacks
fun Configuration.oauth(
name: String? = null,
configure: Configuration.() -> Unit
): Unit
Installs OAuth Authentication mechanism