Show / Hide Table of Contents

Class EnrollmentTokensResource

The "enrollmentTokens" collection of methods.

Inheritance
object
EnrollmentTokensResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class EnrollmentTokensResource

Constructors

EnrollmentTokensResource(IClientService)

Constructs a new resource.

Declaration
public EnrollmentTokensResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(EnrollmentToken, string)

Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-device API to authenticate the user. The token can be generated for each device or reused across multiple devices.

Declaration
public virtual EnrollmentTokensResource.CreateRequest Create(EnrollmentToken body, string enterpriseId)
Parameters
Type Name Description
EnrollmentToken body

The body of the request.

string enterpriseId

Required. The ID of the enterprise.

Returns
Type Description
EnrollmentTokensResource.CreateRequest
In this article
Back to top Generated by DocFX