UserRequestProperties

fun UserRequestProperties(credentialType: String? = "sensibill", accessID: String? = null, accessSecret: String? = null, email: String? = null, password: String? = null)

Parameters

credentialType

This is the type of credentials that will be used to identify the newly created user uniquely to Sensibill. If a user is logging in with their account on Sensibill, this parameter should be \"sensibill\". If you are implementing a third-party single-sign-on based solution, this should be set to the credentialType that you were issued with your client credentials.

accessID

If you are using third-party single-sign-on, then this parameter is what is used to uniquely identify this user account to Sensibill systems. It is equivalent to a username.

accessSecret

If you are using third-party single-sign-on, then this parameter is what is used to verify that you are the owner of this Sensibill account. It is equivalent to a password.

email

The email address of the user. Typically only used by clients who want to allow sending email notifications directly from Sensibill. May be required, depending on your client configuration.

password

The password for the user account. If you are creating a Sensibill account, this parameter is required. If you are using third-party single-sign-on, this parameter is optional