Dela via


UserTokenContent Class

Definition

Get User Token parameters.

public class UserTokenContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.Models.UserTokenContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.Models.UserTokenContent>
type UserTokenContent = class
    interface IJsonModel<UserTokenContent>
    interface IPersistableModel<UserTokenContent>
Public Class UserTokenContent
Implements IJsonModel(Of UserTokenContent), IPersistableModel(Of UserTokenContent)
Inheritance
UserTokenContent
Implements

Constructors

UserTokenContent()

Initializes a new instance of UserTokenContent.

Properties

ExpireOn

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

The Key to be used to generate token for user.

Explicit Interface Implementations

IJsonModel<UserTokenContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<UserTokenContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserTokenContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserTokenContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<UserTokenContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to