Share via


SourceCodeRepoAuthInfo(SourceCodeRepoAuthTokenType, String) Constructor

Definition

Initializes a new instance of SourceCodeRepoAuthInfo.

public SourceCodeRepoAuthInfo (Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoAuthTokenType tokenType, string token);
new Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoAuthInfo : Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoAuthTokenType * string -> Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoAuthInfo
Public Sub New (tokenType As SourceCodeRepoAuthTokenType, token As String)

Parameters

tokenType
SourceCodeRepoAuthTokenType

The type of Auth token.

token
String

The access token used to access the source control provider.

Exceptions

token is null.

Applies to