ktor-auth / io.ktor.auth / OAuthServerSettings / OAuth1aServerSettings

OAuth1aServerSettings

class OAuth1aServerSettings : OAuthServerSettings

OAuth1a server settings

Constructors

<init>

OAuth1aServerSettings(name: String, requestTokenUrl: String, authorizeUrl: String, accessTokenUrl: String, consumerKey: String, consumerSecret: String)OAuth1aServerSettings(name: String, requestTokenUrl: String, authorizeUrl: String, accessTokenUrl: String, consumerKey: String, consumerSecret: String, accessTokenInterceptor: HttpRequestBuilder.() -> Unit = {})

OAuth1a server settings

Properties

accessTokenInterceptor

val accessTokenInterceptor: HttpRequestBuilder.() -> Unit

accessTokenUrl

val accessTokenUrl: String

OAuth server access token request URL

authorizeUrl

val authorizeUrl: String

OAuth server authorization page URL

consumerKey

val consumerKey: String

consumer key parameter (provided by OAuth server vendor)

consumerSecret

val consumerSecret: String

a secret key parameter (provided by OAuth server vendor)

requestTokenUrl

val requestTokenUrl: String

OAuth server token request URL

Inherited Properties

name

val name: String

configuration name

version

val version: OAuthVersion

OAuth version (1a or 2)