oauth

suspend fun PipelineContext<Unit, ApplicationCall>.oauth(client: HttpClient, dispatcher: CoroutineDispatcher, providerLookup: ApplicationCall.() -> OAuthServerSettings?, urlProvider: ApplicationCall.(OAuthServerSettings) -> String)

Install both OAuth1a and OAuth2 authentication helpers that do redirect to OAuth server authorization page and handle corresponding callbacks


fun Authentication.Configuration.oauth(name: String? = null, configure: OAuthAuthenticationProvider.Configuration.() -> Unit)

Installs OAuth Authentication mechanism