register

suspend fun register(configuration: RASPConfiguration, accessKey: String): RASP

Async function to load and initialize a RASP class. The license will be "Core" based on the company parameter.

Return

a RASP class

Parameters

configuration

RASPConfiguration — class with app context and tenant parameters

accessKey

String — a unique company key

Throws

It must be run in a coroutine context such as Dispatchers.IO.


suspend fun register(configuration: RASPConfiguration, accessKey: String, secretKey: String): RASP

Async function to load and initialize a RASP class. The license will be "Advanced" based on the company and the group parameters.

Return

a RASP class

Parameters

configuration

RASPConfiguration — class with app context and tenant parameters

accessKey

String — a unique company key

secretKey

String — a sub-group of the company's people

Throws

It must be run in a coroutine context such as Dispatchers.IO.