Skip to main content

authentication

Creates, updates, deletes, gets or lists an authentication resource.

Overview

Nameauthentication
TypeResource
Identra_id.users.authentication

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
emailMethodsarrayThe email address registered to a user for authentication.
externalAuthenticationMethodsarrayRepresents the external MFA registered to a user for authentication using an external identity provider.
fido2MethodsarrayRepresents the FIDO2 security keys registered to a user for authentication.
methodsarrayRepresents all authentication methods registered to a user.
microsoftAuthenticatorMethodsarrayThe details of the Microsoft Authenticator app registered to a user for authentication.
operationsarrayRepresents the status of a long-running operation, such as a password reset operation.
passwordMethodsarrayRepresents the password registered to a user for authentication. For security, the password itself is never returned in the object, but action can be taken to reset a password.
phoneMethodsarrayThe phone numbers registered to a user for authentication.
platformCredentialMethodsarrayRepresents a platform credential instance registered to a user on Mac OS.
softwareOathMethodsarrayThe software OATH time-based one-time password (TOTP) applications registered to a user for authentication.
temporaryAccessPassMethodsarrayRepresents a Temporary Access Pass registered to a user for authentication through time-limited passcodes.
windowsHelloForBusinessMethodsarrayRepresents the Windows Hello for Business authentication method registered to a user for authentication.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectuser_idThe authentication methods that are supported for the user.
updateupdateuser_id
deletedeleteuser_idIf-Match

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
user_idstringThe unique identifier of user
If-MatchstringETag

SELECT examples

The authentication methods that are supported for the user.

SELECT
id,
emailMethods,
externalAuthenticationMethods,
fido2Methods,
methods,
microsoftAuthenticatorMethods,
operations,
passwordMethods,
phoneMethods,
platformCredentialMethods,
softwareOathMethods,
temporaryAccessPassMethods,
windowsHelloForBusinessMethods
FROM entra_id.users.authentication
WHERE user_id = '{{ user_id }}' -- required
;

UPDATE examples

No description available.

UPDATE entra_id.users.authentication
SET
id = '{{ id }}',
emailMethods = '{{ emailMethods }}',
externalAuthenticationMethods = '{{ externalAuthenticationMethods }}',
fido2Methods = '{{ fido2Methods }}',
methods = '{{ methods }}',
microsoftAuthenticatorMethods = '{{ microsoftAuthenticatorMethods }}',
operations = '{{ operations }}',
passwordMethods = '{{ passwordMethods }}',
phoneMethods = '{{ phoneMethods }}',
platformCredentialMethods = '{{ platformCredentialMethods }}',
softwareOathMethods = '{{ softwareOathMethods }}',
temporaryAccessPassMethods = '{{ temporaryAccessPassMethods }}',
windowsHelloForBusinessMethods = '{{ windowsHelloForBusinessMethods }}'
WHERE
user_id = '{{ user_id }}' --required
RETURNING
id,
emailMethods,
externalAuthenticationMethods,
fido2Methods,
methods,
microsoftAuthenticatorMethods,
operations,
passwordMethods,
phoneMethods,
platformCredentialMethods,
softwareOathMethods,
temporaryAccessPassMethods,
windowsHelloForBusinessMethods;

DELETE examples

No description available.

DELETE FROM entra_id.users.authentication
WHERE user_id = '{{ user_id }}' --required
AND If-Match = '{{ If-Match }}'
;