UserTokenParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.