Back to Node Auth0

Class EnrollmentsClient

docs/classes/management.SDK.EnrollmentsClient-1.html

5.9.12.4 KB
Original Source

Class EnrollmentsClient

Index

Constructors

constructor

Methods

get

Properties

_options

Constructors

constructor

new EnrollmentsClient(options: BaseClientOptions): EnrollmentsClient

Parameters

Returns EnrollmentsClient

Methods

get

get(
id: string,
requestOptions?: EnrollmentsClient.RequestOptions,
): HttpResponsePromise<UsersEnrollment[]>

Retrieve the first multi-factor authentication enrollment that a specific user has confirmed.

Parameters

  • id: string

ID of the user to list enrollments for.

Request-specific configuration.

Returns HttpResponsePromise<UsersEnrollment[]>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.NotFoundError

Throws

Management.TooManyRequestsError

Example

await client.users.enrollments.get("id")Copy

Properties

Protected Readonly_options

_options: NormalizedClientOptionsWithAuth<BaseClientOptions>

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor Methods get Properties _options