OAuth2ServerSettings
constructor(name: String, authorizeUrl: String, accessTokenUrl: String, refreshUrl: String? = null, requestMethod: HttpMethod = HttpMethod.Get, clientId: String, clientSecret: String, defaultScopes: List<String> = emptyList(), defaultScopeDescriptions: Map<String, String> = emptyMap(), accessTokenRequiresBasicAuth: Boolean = false, nonceManager: NonceManager = GenerateOnlyNonceManager, authorizeUrlInterceptor: URLBuilder.(ApplicationRequest) -> 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 = { _, _ -> }, verifyState: suspend (call: ApplicationCall, state: String?) -> Boolean = { _, state ->
nonceManager.verifyNonce(state.orEmpty())
}, extraTokenParametersProvider: suspend (call: ApplicationCall, callback: OAuthCallback.TokenSingle) -> List<Pair<String, String>> = { _, _ -> emptyList() })(source)
constructor(name: String, authorizeUrl: String, accessTokenUrl: String, refreshUrl: String? = null, requestMethod: HttpMethod = HttpMethod.Get, clientId: String, clientSecret: String, defaultScopes: List<String> = emptyList(), defaultScopeDescriptions: Map<String, String> = emptyMap(), accessTokenRequiresBasicAuth: Boolean = false, nonceManager: NonceManager = GenerateOnlyNonceManager, authorizeUrlInterceptor: URLBuilder.(ApplicationRequest) -> 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 = { _, _ -> })(source)
Constructor kept for binary compatibility.