Edit

Share via


qrCodePinAuthenticationMethod resource type

Namespace: microsoft.graph

Represents a QR code and PIN authentication method registered to a user. This single-factor authentication method is designed for frontline workers and combines a QR code (equivalent to something you have) with a PIN (something you know). Users enter the PIN only after successful QR code verification.

Each user can have only one active QR code PIN authentication method. The method requires both a standard QR code and a PIN to be created. Standard QR codes are intended for badges and have a configurable lifetime (default 365 days, maximum 395 days). Temporary QR codes can be created for situations when a user forgot their badge and have a short lifetime (1-12 hours).

Inherits from authenticationMethod.

Methods

Method Return type Description
Get qrCodePinAuthenticationMethod Read the properties of a user's QR code PIN authentication method.
Create qrCodePinAuthenticationMethod Create a new QR code PIN authentication method for a user.
Delete None Delete a user's QR code PIN authentication method.

Properties

Property Type Description
createdDateTime DateTimeOffset The date and time when this authentication method was created. Inherited from authenticationMethod. Read-only.
id String The unique identifier for this authentication method. Inherited from entity. Read-only.

Relationships

Relationship Type Description
pin qrPin The PIN associated with this QR code authentication method.
standardQRCode qrCode The standard (long-lived) QR code credential, typically printed on a user's badge.
temporaryQRCode qrCode A temporary (short-lived) QR code credential, created when a user forgets their badge.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.qrCodePinAuthenticationMethod",
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)"
}