com.miracl.miracltrust.configuration

Types

Configuration

class Configuration

The Configuration class is used to set up the MIRACLTrust SDK. It provides a way to customize some of the SDK components.

Instance is created though its Builder

Builder

class Builder

Parameters

projectId - required to link the SDK with the project on the MiraclTrust platform.

Constructors

Builder(projectId: String)

Parameters

projectId - required to link the SDK with the project on the MiraclTrust platform.

Functions

build

fun build(): Configuration

httpRequestExecutor

fun httpRequestExecutor(httpRequestExecutor: HttpRequestExecutor): Builder

Provides implementation of the HttpRequestExecutor interface to be used by the SDK.

userStorage

fun userStorage(userStorage: UserStorage): Builder

Provides implementation of the userStorage interface to be used by the SDK.