Auth0-PHP

GuardianInterface
in

Interface GuardianInterface.

Table of Contents

deleteEnrollment()  : ResponseInterface
Delete an enrollment to allow the user to enroll with multi-factor authentication again.
getEnrollment()  : ResponseInterface
Retrieve an enrollment (including its status and type).
getFactors()  : ResponseInterface
Retrieve all multi-factor authentication configurations.

Methods

deleteEnrollment()

Delete an enrollment to allow the user to enroll with multi-factor authentication again.

public deleteEnrollment(string $id[, RequestOptions|null $options = null ]) : ResponseInterface

Required scope: delete:guardian_enrollments.

Parameters
$id : string

enrollment (by it's ID) to be deleted

$options : RequestOptions|null = null

Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)

Tags
throws
ArgumentException

when an invalid id is provided

throws
NetworkException

when the API request fails due to a network error

see
https://auth0.com/docs/api/management/v2#!/Guardian/delete_enrollments_by_id
Return values
ResponseInterface

getEnrollment()

Retrieve an enrollment (including its status and type).

public getEnrollment(string $id[, RequestOptions|null $options = null ]) : ResponseInterface

Required scope: read:guardian_enrollments.

Parameters
$id : string

enrollment (by it's ID) to query

$options : RequestOptions|null = null

Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)

Tags
throws
ArgumentException

when an invalid id is provided

throws
NetworkException

when the API request fails due to a network error

see
https://auth0.com/docs/api/management/v2#!/Guardian/get_enrollments_by_id
Return values
ResponseInterface

getFactors()

Retrieve all multi-factor authentication configurations.

public getFactors([RequestOptions|null $options = null ]) : ResponseInterface

Required scope: read:guardian_factors.

Parameters
$options : RequestOptions|null = null

Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)

Tags
throws
NetworkException

when the API request fails due to a network error

see
https://auth0.com/docs/api/management/v2#!/Guardian/get_factors
Return values
ResponseInterface

Search results