Condividi tramite


UserTokenParameters Constructors

Definition

Overloads

UserTokenParameters()

Initializes a new instance of the UserTokenParameters class.

UserTokenParameters(KeyType, DateTime)

Initializes a new instance of the UserTokenParameters class.

UserTokenParameters()

Initializes a new instance of the UserTokenParameters class.

public UserTokenParameters ();
Public Sub New ()

Applies to

UserTokenParameters(KeyType, DateTime)

Initializes a new instance of the UserTokenParameters class.

public UserTokenParameters (Microsoft.Azure.Management.ApiManagement.Models.KeyType keyType, DateTime expiry);
new Microsoft.Azure.Management.ApiManagement.Models.UserTokenParameters : Microsoft.Azure.Management.ApiManagement.Models.KeyType * DateTime -> Microsoft.Azure.Management.ApiManagement.Models.UserTokenParameters
Public Sub New (keyType As KeyType, expiry As DateTime)

Parameters

keyType
KeyType

The Key to be used to generate token for user. Possible values include: 'primary', 'secondary'

expiry
DateTime

The Expiry time of the Token. Maximum token expiry time is set to 30 days. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

Applies to