Class CreateOTPKey
java.lang.Object
com.tremolosecurity.provisioning.customTasks.CreateOTPKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StringgenerateEncryptedToken(String userID, com.warrenstrange.googleauth.GoogleAuthenticatorKey key, String hostName, ConfigManager cfg, String encryptionKey) voidinit(WorkflowTask task, Map<String, Attribute> params) voidreInit(WorkflowTask task)
-
Constructor Details
-
CreateOTPKey
public CreateOTPKey()
-
-
Method Details
-
init
- Specified by:
initin interfaceCustomTask- Throws:
ProvisioningException
-
reInit
- Specified by:
reInitin interfaceCustomTask- Throws:
ProvisioningException
-
doTask
- Specified by:
doTaskin 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
-