JavaScript: Get Authenticator Assurance Level

Returns the Authenticator Assurance Level (AAL) for the active session.

Examples

Get the AAL details of a session

const \{ data, error \} = await supabase.auth.mfa.getAuthenticatorAssuranceLevel()
const \{ currentLevel, nextLevel, currentAuthenticationMethods \} = data