Class CreateOTPKey
java.lang.Object
com.tremolosecurity.provisioning.customTasks.CreateOTPKey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static String
generateEncryptedToken
(String userID, com.warrenstrange.googleauth.GoogleAuthenticatorKey key, String hostName, ConfigManager cfg, String encryptionKey) void
init
(WorkflowTask task, Map<String, Attribute> params) void
reInit
(WorkflowTask task)
-
Constructor Details
-
CreateOTPKey
public CreateOTPKey()
-
-
Method Details
-
init
- Specified by:
init
in interfaceCustomTask
- Throws:
ProvisioningException
-
reInit
- Specified by:
reInit
in interfaceCustomTask
- Throws:
ProvisioningException
-
doTask
- Specified by:
doTask
in interfaceCustomTask
- Throws:
ProvisioningException
-
generateEncryptedToken
public static String generateEncryptedToken(String userID, com.warrenstrange.googleauth.GoogleAuthenticatorKey key, String hostName, ConfigManager cfg, String encryptionKey) throws ProvisioningException - Throws:
ProvisioningException
-