Configuration

class Configuration : Configuration

OAuth provider configuration

Properties

client

lateinit var client: HttpClient

HTTP client instance used by this provider to make HTTP calls to OAuth server

providerLookup

lateinit var providerLookup: ApplicationCall.() -> OAuthServerSettings?

Lookup function to find OAuth server settings for the particular call

urlProvider

lateinit var urlProvider: ApplicationCall.(OAuthServerSettings) -> String

URL provider that should produce login url for the particular call

Inherited Properties

name

val name: String?

is the name of the provider, or null for a default provider.

pipeline

Authentication pipeline for this provider

Inherited Functions

skipWhen

fun skipWhen(predicate: (ApplicationCall) -> Boolean): Unit

Adds an authentication filter to the list. For every application call the specified predicate is applied and if it returns true then the authentication provider is skipped (no auth required for this call with this provider).