Partilhar via


IRepositoryBranchAndAuth.WithRepositoryAuthentication Método

Definição

Sobrecargas

WithRepositoryAuthentication(TokenType, String)

A função que permite que o usuário insira o tipo do token usado para autenticação e o próprio token para autenticar no repositório de controle do código-fonte.

WithRepositoryAuthentication(TokenType, String, String, String, Int32)

A função que permite que o usuário insira o tipo do token usado para autenticação e o próprio token para autenticar no repositório de controle do código-fonte.

WithRepositoryAuthentication(TokenType, String)

A função que permite que o usuário insira o tipo do token usado para autenticação e o próprio token para autenticar no repositório de controle do código-fonte.

public Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.Definition.ISourceTriggerAttachable WithRepositoryAuthentication (Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TokenType tokenType, string token);
abstract member WithRepositoryAuthentication : Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TokenType * string -> Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.Definition.ISourceTriggerAttachable
Public Function WithRepositoryAuthentication (tokenType As TokenType, token As String) As ISourceTriggerAttachable

Parâmetros

tokenType
TokenType

O tipo do token usado para autenticar no repositório de controle do código-fonte.

token
String

O token usado para autenticar no repositório de controle do código-fonte.

Retornos

Aplica-se a

WithRepositoryAuthentication(TokenType, String, String, String, Int32)

A função que permite que o usuário insira o tipo do token usado para autenticação e o próprio token para autenticar no repositório de controle do código-fonte.

public Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.Definition.ISourceTriggerAttachable WithRepositoryAuthentication (Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TokenType tokenType, string token, string refreshToken, string scope, int expiresIn);
abstract member WithRepositoryAuthentication : Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TokenType * string * string * string * int -> Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.Definition.ISourceTriggerAttachable
Public Function WithRepositoryAuthentication (tokenType As TokenType, token As String, refreshToken As String, scope As String, expiresIn As Integer) As ISourceTriggerAttachable

Parâmetros

tokenType
TokenType

O tipo do token usado para autenticar no repositório de controle do código-fonte.

token
String

O token usado para autenticar no repositório de controle do código-fonte.

refreshToken
String

O token usado para atualizar o token de acesso.

scope
String

O escopo do token de acesso.

expiresIn
Int32

Tempo em segundos em que o token permanece válido.

Retornos

Aplica-se a