MyAccount API
TypeScript
import { MyAccountClient } from "github.com/auth0/myaccount-js"; async function main() { const client = new MyAccountClient({ token: "<token>", }); await client.factors.list(); } main();
{ "factors": [ { "type": "password", "usage": [ "primary" ] } ] }
List of factors enabled for the Auth0 tenant and available for enrollment by this user.
Bearer and DPoP tokens are supported depending on the API configuration
Successfully retrieved enabled factors
Afficher attributs enfants
Cette page vous a-t-elle été utile ?