Share via


SourceControlSecurityTokenProperties Class

Definition

The SourceControlSecurityTokenProperties.

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

Constructors

Name Description
SourceControlSecurityTokenProperties()

Initializes a new instance of SourceControlSecurityTokenProperties.

Properties

Name Description
AccessToken

The access token.

RefreshToken

The refresh token.

TokenType

The token type. Must be either PersonalAccessToken or Oauth.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<SourceControlSecurityTokenProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SourceControlSecurityTokenProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SourceControlSecurityTokenProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SourceControlSecurityTokenProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SourceControlSecurityTokenProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to