Builder

class Builder @JvmOverloads constructor(projectId: String, projectUrl: String = DEFAULT_PLATFORM_URL)

Builds a Configuration object.

Parameters

projectId

The unique identifier for your MIRACL Trust project.

projectUrl

MIRACL Trust Project URL that is used for communication with the MIRACL Trust API.

Constructors

Link copied to clipboard
constructor(projectId: String, projectUrl: String = DEFAULT_PLATFORM_URL)

Functions

Link copied to clipboard

Sets additional information that will be sent via X-MIRACL-CLIENT HTTP header.

Link copied to clipboard
Link copied to clipboard

Sets HTTP requests connect timeout in seconds to be used by the SDK default HttpRequestExecutor.

Link copied to clipboard

Sets value of device name.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Provides specific Logger.LoggingLevel to be used by the SDK default logger.

Link copied to clipboard

Sets HTTP requests read timeout in seconds to be used by the SDK default HttpRequestExecutor.

Link copied to clipboard

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