# register
Brief description
Provides end-user registration. Registers an end-user for a given MiraclTrust Customer to the MiraclTrust platform.
# Parameters
Name | Summary |
---|---|
activationToken | provides an activate token for verification. |
deviceName | provides a device name. Defaults to the model of the device. |
pinProvider | a callback called from the SDK, when the identity PIN is required. |
pushNotificationsToken | current device push notifications token. This is used when push notifications for authentication are enabled in the platform. |
resultHandler | a callback to handle the result of the registration.
|
userId | provides an unique user id (i.e. email). |
Content
@JvmOverloads()
fun register(userId: String, activationToken: ActivationToken, pinProvider: PinProvider, resultHandler: ResultHandler<AuthenticationUser, Error>, deviceName: String, pushNotificationsToken: String?)