GetTokenRequest
The get token request details.
Declaration
object GetTokenRequestProperties
| Name | Type | Description |
|---|---|---|
EnrollmentID Required | string | The per-enrollment identifier for the device. The system requires this value if the enrollment type is a user enrollment. |
EnrollmentUserID Required | string | The per-enrollment identifier for the user. The system requires this value if the enrollment type is a user enrollment on the user channel. Available: macOS 14+ |
MessageType Required | string | The message type, which requires a value of |
TokenParameters | GetTokenRequest.TokenParameters | Parameters that the system uses to generate the token. |
TokenServiceType Required | string | A string that specifies the service for the requested token. |
UDID Required | string | The device’s UDID (unique device identifier). The system requires this value if the enrollment type is a device enrollment. |
UserID | string | For macOS, this value is the ID of the user. For Shared iPad, this value is Available: iOS 17+ | iPadOS 17+ | macOS 14+ |
UserLongName Required | string | The full name of the user. Available: macOS 14+ |
UserShortName | string | For macOS, this value is the short name of the user. For Shared iPad, this value is the Managed Apple Account identifier of the user. When present, it indicates that the token is for the user channel. Available: iOS 17+ | iPadOS 17+ | macOS 14+ |