Passer au contenu principal
GET
https://{host}/me/v1
/
authentication-methods
C#
using Auth0Auth0;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new Auth0Auth0Client(
            token: "<token>"
        );

        await client.AuthenticationMethods.ListAsync();
    }

}
{
  "authentication_methods": [
    {
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "usage": [
        "primary"
      ],
      "type": "password",
      "identity_user_id": "<string>",
      "last_password_reset": "2023-11-07T05:31:56Z"
    }
  ]
}

Autorisations

Authorization
string
header
requis

Bearer and DPoP tokens are supported depending on the API configuration

Réponse

Successfully retrieved authentication methods

authentication_methods
(password · object | passkey · object | recovery-code · object | push-notification · object | totp · object | webauthn-platform · object | webauthn-roaming · object | phone · object | email · object)[]
requis
Maximum array length: 20