Two Factor Connector
App to active two-factor authentication and display totp qr-code.
With a mocked environment the code '666 6666' will trigger an error.
||Username to use, will be loaded from current principal if not available.|
||Password to use, only necessary if no active session is available, for example in login app when two-factor activation is forced.|
||Secret to use for activation. If not set, a new secret is loaded from the server.|
||Whether two factor authentication was forced on user, meaning they couldn't login. Will be used to display alternate info message and run activation without session.|
||Is fired if 2fa setup was successful|
||Is fired if 2fa setup was cancelled|
||Is fired whenever the app size has changed|