Class UsersResource.GenerateAuthenticationTokenRequest
Generates an authentication token which the device policy client can use to provision the given EMM-managed user account on a device. The generated token is single-use and expires after a few minutes. You can provision a maximum of 10 devices per user. This call only works with EMM-managed accounts.
Inheritance
UsersResource.GenerateAuthenticationTokenRequest
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class UsersResource.GenerateAuthenticationTokenRequest : AndroidEnterpriseBaseServiceRequest<AuthenticationToken>, IClientServiceRequest<AuthenticationToken>, IClientServiceRequest
Constructors
GenerateAuthenticationTokenRequest(IClientService, string, string)
Constructs a new GenerateAuthenticationToken request.
Declaration
public GenerateAuthenticationTokenRequest(IClientService service, string enterpriseId, string userId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | enterpriseId | |
string | userId |
Properties
EnterpriseId
The ID of the enterprise.
Declaration
[RequestParameter("enterpriseId", RequestParameterType.Path)]
public virtual string EnterpriseId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UserId
The ID of the user.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes GenerateAuthenticationToken parameter list.
Declaration
protected override void InitParameters()