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
表示 子属性
このページは役に立ちましたか?