Compartilhar via


EndpointAuthToken Class

Definition

Service Token

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.EndpointAuthTokenTypeConverter))]
public class EndpointAuthToken : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IEndpointAuthToken
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.EndpointAuthTokenTypeConverter))>]
type EndpointAuthToken = class
    interface IEndpointAuthToken
    interface IJsonSerializable
Public Class EndpointAuthToken
Implements IEndpointAuthToken
Inheritance
EndpointAuthToken
Attributes
Implements

Constructors

EndpointAuthToken()

Creates an new EndpointAuthToken instance.

Properties

AccessToken

Access token for endpoint authentication.

ExpiryTimeUtc

Access token expiry time (UTC).

RefreshAfterTimeUtc

Refresh access token after time (UTC).

TokenType

Access token type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EndpointAuthToken.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EndpointAuthToken.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IEndpointAuthToken.

FromJsonString(String)

Creates a new instance of EndpointAuthToken, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EndpointAuthToken into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to