/** * Generate a pseudo-unique activation OTP. Technically, the result is a string with 5+5 random * Base32 characters (separated with the "-" character). * * @return A new activation OTP. */ public String generateActivationOTP() { return identifierGenerator.generateActivationOTP(); }
/** * Generate a pseudo-unique short activation ID. Technically, the result is a string with 5+5 * random Base32 characters (separated with the "-" character). PowerAuth Server implementation * should validate that this identifier is unique among all activation records in CREATED or * OTP_USED states, so that there are no collisions in activations. * * @return A new short activation ID. */ public String generateActivationIdShort() { return identifierGenerator.generateActivationIdShort(); }