SourceCodeRepoAuthInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The authorization properties for accessing the source code repository.
public class SourceCodeRepoAuthInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoAuthInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoAuthInfo>
type SourceCodeRepoAuthInfo = class
interface IJsonModel<SourceCodeRepoAuthInfo>
interface IPersistableModel<SourceCodeRepoAuthInfo>
Public Class SourceCodeRepoAuthInfo
Implements IJsonModel(Of SourceCodeRepoAuthInfo), IPersistableModel(Of SourceCodeRepoAuthInfo)
- Inheritance
-
SourceCodeRepoAuthInfo
- Implements
Constructors
SourceCodeRepoAuthInfo(SourceCodeRepoAuthTokenType, String) |
Initializes a new instance of SourceCodeRepoAuthInfo. |
Properties
ExpireInSeconds |
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<SourceCodeRepoAuthInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SourceCodeRepoAuthInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SourceCodeRepoAuthInfo>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SourceCodeRepoAuthInfo>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SourceCodeRepoAuthInfo>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |