SilverStripe\TOTP\TOTPAware
Synopsis
Hierarchy
Methods
protected
- getEncryptionKey() — Gets the encryption key to use from environment variables. This is generated by default on the Common Web Platform, but can be defined as a custom value if required.
- getTotp() — Get an instance of the TOTP handler service. The secret must already be defined and set to the StoreInterface.