Skip to main content
GET
/
factors
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"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer and DPoP tokens are supported depending on the API configuration

Response

Successfully retrieved enabled factors

factors
object[]
required