Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage
Provision Instance
Provision a user with a TOTP authenticator instance
An end-user needs to be first provisioned with at least one TOTP instance before they can use this feature. Depending on server-side configuration settings, more than one TOTP instance could be provisioned to an end-user.
TOTP related SOAP elements
SOAP element
Required
Type
Description
provisionNewInstance
true
boolean
Set to true in order to provision a new TOTP instance.
newDeviceName
false
string
The name of the device the TOTP is being provisioned to. For example, “Mike’s iPhone” or similar. The intent is to associate a user-friendly name to each TOTP instance, to allow end-users to manage them. This is relevant in particular if end-users are allowed to provision multiple TOTP devices.
newInstanceDigits
true
integer
The OTP’s length. Typically 6 digits. Allowed value range: 4 - 10
newInstanceSecret
false
string
If present, this will be set as the TOTP’s instance secret. Needs to be Base32 encoded.
newInstancePeriodSeconds
true
integer
How frequently a new OTP is generated, in seconds. Allowed value range: 30 - 300
newInstanceUserLabel
true
string
A label to identify an end-user’s account that will appear in the authentication app. Typically a login ID.
newInstanceIssuer
true
string
A label to identify the name of the organization or application that is issuing this TOTP instance. This will appear in the authentication app.
newInstanceHMACAlgorithm
true
enum
A value indicating the HMAC algorithm to be used to calculate the OTP. Refer to WSDL for supported values.
newInstanceSetAsDefault
false
enum
Sets this instance as the new default instance. Default: false
Value will be set to NEW_INSTANCE_PROVISIONED is successful. Other values indicate failure.
revisionId
Yes
string
newInstanceQRCode
Yes, if success
string
A base64 encoded QR code to be displayed to the end-user in order to provision the TOTP record in the mobile application. The QR code includes the TOTP secret.
newInstanceSecret
Yes, if success
string
The TOTP instance base32 encoded secret.
newInstanceUniqueId
Yes, if success
string
The uniqueId assigned to the new TOTP instance.
TOTPInstance
Yes
complex type, repeated
An sequence of complex object listing the runtime configuration and current status of TOTP instances provisioned to the end-user.