Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important
APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Represents a QR code authentication method registered to a user, as allowed by the qrCodePinAuthenticationMethodConfiguration policy. The QR code authentication method consists of a QR code and a user PIN. To authenticate, the user scans the QR code and enters their PIN.
Inherits from authenticationMethod.
Methods
| Method | Return type | Description |
|---|---|---|
| Get | qrCodePinAuthenticationMethod | Read the properties and relationships of a user's qrCodePinAuthenticationMethod object. |
| Create | qrCodePinAuthenticationMethod | Create a user's new qrCodePinAuthenticationMethod object. |
| Delete | None | Delete a user's qrCodePinAuthenticationMethod object. |
Properties
| Property | Type | Description |
|---|---|---|
| id | String | The identifier of the QR code auth added to this user. Inherited from authenticationMethod. Inherits from entity |
| lastUsedDateTime | DateTimeOffset | The date and time the authentication method was last used by the user. Read-only. Optional. This optional value is null if the authentication method doesn't populate it. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Inherited from authenticationMethod. |
Relationships
| Relationship | Type | Description |
|---|---|---|
| pin | qrPin | The PIN linked to the QR Code auth method of the user. |
| standardQRCode | qrCode | Standard QR code is primary QR code of the user with lifetime upto 395 days (13 months). There can be only one active standard QR code for the user. |
| temporaryQRCode | qrCode | Temporary QR code has lifetime up to 12 hours. It can be issued when the user doesn't have access to their standard QR code. There can be only one active temporary QR code for the user. |
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.qrCodePinAuthenticationMethod",
"id": "String (identifier)",
"lastUsedDateTime": "String (timestamp)"
}