core / com.schibsted.account.network.service.passwordless / PasswordlessService

PasswordlessService

open class PasswordlessService : BaseNetworkService

Annotations

Connection

class Connection

Constructors

<init>

PasswordlessService(environment: String!, okHttpClient: OkHttpClient!)

Properties

PARAM_CONNECTION_EMAIL

static val PARAM_CONNECTION_EMAIL: String

PARAM_CONNECTION_SMS

static val PARAM_CONNECTION_SMS: String

Inherited 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

resendCode

open fun resendCode(clientId: String, passwordlessToken: PasswordlessToken): Call<PasswordlessToken!>!

Request an auth code that had already been sent to an identifier previously to be resent.

sendValidationCode

open fun sendValidationCode(clientId: String, identifier: String, connection: String, locale: Locale): Call<PasswordlessToken!>!

Requests a code to be sent to an identifier.

Inherited Functions

createService

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

Creates a service to perform network interactions against.