Returns
MfaMethod[]
An array of enabled MFA methods.
function getEnabledMfaMethods(): MfaMethod[];
MfaMethod[]
An array of enabled MFA methods.
const config = getMfaConfigState();
if (config) {
const methods = getEnabledMfaMethods(config);
// methods = ['totp', 'sms']
}
Was this page helpful?