This adapter generates a TOTP one-time password that is compatible with Google Authenticator and other tools.
Properties
|
|
Operation executed by the adapter Possible values:
|
Parameters
|
|
Name of the company or organization that issues the one-time password This parameter should be treated like a display name because it appears as specified in the Authenticator app, such as |
|
|
An account that is tied to the secret key—typically a user name or email address This parameter should be treated like a display name because it appears as specified in the Authenticator app, such as |
Status values
|
|
The operation was successful. |
|
|
An error occurred during the operation. |
|
|
The password does not match, for example, because the input structure is not well formed. |
Input
The adapter expects a different input structure depending on the selected operation.
-
Operation
GenerateSecret:
This operation does not require any input. -
Operation
GeneratePassword:Input
XML<Secret> <!-- 20-byte BASE32 character string --> </Secret> -
Operation
VerifyPassword:Input
XML<TOTP> <Password> <!-- 6-digit number with leading zeroes --> </Password> <Secret> <!-- 20-byte BASE32 character string --> </Secret> </TOTP> -
Operation
GenerateAuthenticatorQRCode:Input
XML<Secret> <!-- 20-byte BASE32 character string --> </Secret>
Output
The adapter outputs various documents depending on the operation that is performed:
-
Operation
GenerateSecret:Output
XML<Secret> <!-- 20-byte BASE32 character string --> </Secret> -
Operation
GeneratePassword:Output
XML<Password> <!-- 6-digit number with leading zeroes --> </Password> -
Operation
VerifyPassword:Output
XML<Ok description="The password matches."/> <!-- or --> <Error description="The password provided is incorrect."/> -
Operation
GenerateAuthenticatorQRCode:
An image (.png) with a QR code is returned.