The following table provides the input and output information for OATH OTP operations:
|
Operation (Function Used)
|
Input Required
|
Expected Output
|
|
Creating credential
(create())
|
- User name (userName).
- (Optional) Organization name (orgName).
- (Optional) Additional Input (AdditionalInput).
- (Optional) Profile name of the credential. If it is not passed, then the default profile for the organization is used. If it is passed, then the profile name must be available at the organization.
- (Optional) Custom attributes that you have maintained for each credential in your application.
|
- CredentialDetails
- TransactionDetails
- Password
|
|
Fetching credential (fetch())
|
- User name (userName).
- (Optional) Organization name (orgName).
- (Optional) Additional Input (AdditionalInput).
- (Optional) Profile name of the credential.
|
- CredentialDetails
- TransactionDetails
|
|
Resetting credential (resetCredentail())
|
- User name (userName).
- (Optional) Organization name (orgName).
- (Optional) Additional Input (AdditionalInput).
- (Optional) Profile name of the credential.
|
- CredentialDetails
- TransactionDetails
- Password
|
|
Resetting credential validity (resetValidity())
|
- User name (userName).
- (Optional) Organization name (orgName).
- (Optional) Additional Input (AdditionalInput).
- Time when the validity of the credential ends (validityEndTimeEx).
- (Optional) Profile name of the credential.
|
- CredentialDetails
- TransactionDetails
|
|
Reissuing credential (reissue())
|
- User name (userName).
- (Optional) Organization name (orgName).
- (Optional) Additional Input (AdditionalInput).
- (Optional) Profile name of the credential.
|
- CredentialDetails
- TransactionDetails
|
|
Downloading Credential (downloadCredential())
|
- User name (userName).
- (Optional) Organization name (orgName).
- (Optional) Additional Input (AdditionalInput).
- (Optional) Profile name of the credential.
- Password (password).
|
- CredentialDetails
- TransactionDetails
|
|
Resetting custom attributes (resetNotes())
|
- User name (userName).
- (Optional) Organization name (orgName).
- (Optional) Additional Input (AdditionalInput).
- Custom attributes that you have maintained in your application.
- (Optional) Profile name of the credential.
|
- CredentialDetails
- TransactionDetails
|
|
Disabling credential (disable())
|
- User name (userName).
- (Optional) Organization name (orgName).
- (Optional) Additional Input (AdditionalInput).
- (Optional) Profile name of the credential.
|
- CredentialDetails
- TransactionDetails
|
|
Enabling credential (enable())
|
|
Deleting credential (delete())
|