IPWorks Auth 2020 JavaScript Edition

Questions / Feedback?

Secret Property

The Base32 encoded shared secret used when creating and validating a password.

Syntax


 getSecret(): string;

 setSecret(secret: string): void;

Default Value

""

Remarks

This property specifies the Base32 encoded shared secret used when creating and validating a password. This should be set before calling CreatePassword or ValidatePassword.

If this is not set before calling CreatePassword a random secret will be automatically generated. This functionality provides an easy way to create new secret values. The length of the secret is defined by SecretLength.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Auth 2020 JavaScript Edition - Version 20.0 [Build 7721]