| Modifier and Type | Field and Description |
|---|---|
static TokenType |
TokenType.OAUTH
Static value OAuth for TokenType.
|
static TokenType |
TokenType.PAT
Static value PAT for TokenType.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenType |
TokenType.fromString(String name)
Creates or finds a TokenType from its string representation.
|
TokenType |
AuthInfoUpdateParameters.tokenType()
Get the type of Auth token.
|
TokenType |
AuthInfo.tokenType()
Get the type of Auth token.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<TokenType> |
TokenType.values() |
| Modifier and Type | Method and Description |
|---|---|
RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable |
RegistrySourceTrigger.DefinitionStages.RepositoryBranchAndAuth.withRepositoryAuthentication(TokenType tokenType,
String token)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.
|
RegistrySourceTrigger.Update |
RegistrySourceTrigger.UpdateStages.RepositoryBranchAndAuth.withRepositoryAuthentication(TokenType tokenType,
String token)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.
|
RegistrySourceTrigger.UpdateDefinitionStages.SourceTriggerAttachable |
RegistrySourceTrigger.UpdateDefinitionStages.RepositoryBranchAndAuth.withRepositoryAuthentication(TokenType tokenType,
String token)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.
|
RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable |
RegistrySourceTrigger.DefinitionStages.RepositoryBranchAndAuth.withRepositoryAuthentication(TokenType tokenType,
String token,
String refreshToken,
String scope,
int expiresIn)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.
|
RegistrySourceTrigger.Update |
RegistrySourceTrigger.UpdateStages.RepositoryBranchAndAuth.withRepositoryAuthentication(TokenType tokenType,
String token,
String refreshToken,
String scope,
int expiresIn)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.
|
RegistrySourceTrigger.UpdateDefinitionStages.SourceTriggerAttachable |
RegistrySourceTrigger.UpdateDefinitionStages.RepositoryBranchAndAuth.withRepositoryAuthentication(TokenType tokenType,
String token,
String refreshToken,
String scope,
int expiresIn)
The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.
|
AuthInfoUpdateParameters |
AuthInfoUpdateParameters.withTokenType(TokenType tokenType)
Set the type of Auth token.
|
AuthInfo |
AuthInfo.withTokenType(TokenType tokenType)
Set the type of Auth token.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/