Condividi tramite


SourceCodeRepoAuthInfoUpdateContent Class

Definition

The authorization properties for accessing the source code repository.

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

Constructors

SourceCodeRepoAuthInfoUpdateContent()

Initializes a new instance of SourceCodeRepoAuthInfoUpdateContent.

Properties

ExpiresIn

Time in seconds that the token remains valid.

RefreshToken

The refresh token used to refresh the access token.

Scope

The scope of the access token.

Token

The access token used to access the source control provider.

TokenType

The type of Auth token.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SourceCodeRepoAuthInfoUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SourceCodeRepoAuthInfoUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SourceCodeRepoAuthInfoUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SourceCodeRepoAuthInfoUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SourceCodeRepoAuthInfoUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to