OAuth2ServerSettings
constructor(name: String, authorizeUrl: String, accessTokenUrl: String, requestMethod: HttpMethod = HttpMethod.Get, clientId: String, clientSecret: String, defaultScopes: List<String> = emptyList(), accessTokenRequiresBasicAuth: Boolean = false, nonceManager: NonceManager = GenerateOnlyNonceManager, authorizeUrlInterceptor: URLBuilder.() -> Unit = {}, passParamsInURL: Boolean = false, extraAuthParameters: List<Pair<String, String>> = emptyList(), extraTokenParameters: List<Pair<String, String>> = emptyList(), accessTokenInterceptor: HttpRequestBuilder.() -> Unit = {}, onStateCreated: suspend (call: ApplicationCall, state: String) -> Unit = { _, _ -> })