Overview
An AuthenticatorEntry is one two-factor authentication (2FA) code that Phones Inc keeps for your organization, like an entry in Google Authenticator. You give it the setup key an app shows when you turn on 2FA, and from then on you can read the current 6-digit code at any time.- Add 2FA Entry stores the setup key and returns the entry with its
id. Scan 2FA QR Code does the same from the QR code on a phone’s screen. - Get 2FA Code returns the current code for that
id.
code, which changes every 30 seconds, and how many backup codes are stored.
Properties
The
id of the phone the entry is linked to, or null.When
code stops being valid (ISO 8601 timestamp). Read the code again after this time to get the next one.