core / com.schibsted.account / ClientConfiguration

ClientConfiguration

data class ClientConfiguration : Parcelable

This contains the client configuration as found in the self service pages in Schibsted account

Parameters

environment - The Schibsted account Environment to use

clientId - The ID of the Schibsted account client to use. Can be found in Self-Service

clientSecret - The client's secret. Can be found in Self-Service

Constructors

<init>

ClientConfiguration(environment: String, clientId: String, clientSecret: String)

This contains the client configuration as found in the self service pages in Schibsted account

Properties

clientId

val clientId: String

The ID of the Schibsted account client to use. Can be found in Self-Service

clientSecret

val clientSecret: String

The client's secret. Can be found in Self-Service

environment

val environment: String

The Schibsted account Environment to use

Companion Object Functions

get

fun get(): ClientConfiguration

set

fun set(clientConfiguration: ClientConfiguration): Unit