| Modifier and Type | Method | Description |
|---|---|---|
AuthInfoUpdateParameters |
SourceUpdateParameters.sourceControlAuthProperties() |
Get the authorization properties for accessing the source code repository and to set up
webhooks for notifications.
|
AuthInfoUpdateParameters |
AuthInfoUpdateParameters.withExpiresIn(Integer expiresIn) |
Set time in seconds that the token remains valid.
|
AuthInfoUpdateParameters |
AuthInfoUpdateParameters.withRefreshToken(String refreshToken) |
Set the refresh token used to refresh the access token.
|
AuthInfoUpdateParameters |
AuthInfoUpdateParameters.withScope(String scope) |
Set the scope of the access token.
|
AuthInfoUpdateParameters |
AuthInfoUpdateParameters.withToken(String token) |
Set the access token used to access the source control provider.
|
AuthInfoUpdateParameters |
AuthInfoUpdateParameters.withTokenType(TokenType tokenType) |
Set the type of Auth token.
|
| Modifier and Type | Method | Description |
|---|---|---|
SourceUpdateParameters |
SourceUpdateParameters.withSourceControlAuthProperties(AuthInfoUpdateParameters sourceControlAuthProperties) |
Set the authorization properties for accessing the source code repository and to set up
webhooks for notifications.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/