core / com.schibsted.account.network.service / BaseNetworkService

BaseNetworkService

open class BaseNetworkService

Constructors

<init>

BaseNetworkService(environment: String!, okHttpClient: OkHttpClient)

Properties

PARAM_CLIENT_ID

static val PARAM_CLIENT_ID: String

PARAM_CLIENT_SECRET

static val PARAM_CLIENT_SECRET: String

PARAM_PASSWORD

static val PARAM_PASSWORD: String

PARAM_PASSWORDLESS_TOKEN

static val PARAM_PASSWORDLESS_TOKEN: String

PARAM_REDIRECT_URI_NO_UNDERSCORE

static val PARAM_REDIRECT_URI_NO_UNDERSCORE: String

Functions

createService

open fun <T : Any!> createService(service: Class<T>): T

Creates a service to perform network interactions against.

Inheritors

ClientService

class ClientService : BaseNetworkService

This network service is used to perform client token based operations

OAuthService

class OAuthService : BaseNetworkService

PasswordlessService

open class PasswordlessService : BaseNetworkService

SessionService

class SessionService : BaseNetworkService

UserService

class UserService : BaseNetworkService