OAuth2ServerSettings
class OAuth2ServerSettings(val name: String, val authorizeUrl: String, val accessTokenUrl: String, val requestMethod: HttpMethod = HttpMethod.Get, val clientId: String, val clientSecret: String, val defaultScopes: List<String> = emptyList(), val accessTokenRequiresBasicAuth: Boolean = false, val nonceManager: NonceManager = GenerateOnlyNonceManager, val authorizeUrlInterceptor: URLBuilder.() -> Unit = {}, val passParamsInURL: Boolean = false, val extraAuthParameters: List<Pair<String, String>> = emptyList(), val extraTokenParameters: List<Pair<String, String>> = emptyList(), val accessTokenInterceptor: HttpRequestBuilder.() -> Unit = {}, val onStateCreated: suspend (call: ApplicationCall, state: String) -> Unit = { _, _ -> }) : OAuthServerSettings
OAuth2 server settings
Constructors
Link copied to clipboard
fun OAuth2ServerSettings(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 = { _, _ -> })
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard