| 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 |
|---|---|
TokenType |
SourceRepositoryProperties.authenticationTokenType() |
TokenType |
BuildTask.authenticationTokenType() |
static TokenType |
TokenType.fromString(String name)
Creates or finds a TokenType from its string representation.
|
TokenType |
SourceControlAuthInfo.tokenType()
Get the tokenType value.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<TokenType> |
TokenType.values() |
| Modifier and Type | Method and Description |
|---|---|
BuildTask.DefinitionStages.WithAuthenticationToken |
BuildTask.DefinitionStages.WithAuthenticationTokenType.withAuthenticationTokenType(TokenType tokenType)
Specifies the type of the authentication token.
|
BuildTask.Update |
BuildTask.UpdateStages.WithAuthenticationTokenType.withAuthenticationTokenType(TokenType tokenType)
Specifies the type of the authentication token.
|
SourceControlAuthInfo |
SourceControlAuthInfo.withTokenType(TokenType tokenType)
Set the tokenType value.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/