共用方式為


UserTokenParameters Class

Definition

Get User Token parameters.

[Microsoft.Rest.Serialization.JsonTransformation]
public class UserTokenParameters
[<Microsoft.Rest.Serialization.JsonTransformation>]
type UserTokenParameters = class
Public Class UserTokenParameters
Inheritance
UserTokenParameters
Attributes

Constructors

UserTokenParameters()

Initializes a new instance of the UserTokenParameters class.

UserTokenParameters(KeyType, DateTime)

Initializes a new instance of the UserTokenParameters class.

Properties

Expiry

Gets or sets 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.

KeyType

Gets or sets the Key to be used to generate token for user. Possible values include: 'primary', 'secondary'

Methods

Validate()

Validate the object.

Applies to