| Modifier and Type | Method | Description |
|---|---|---|
AuthInfo |
SourceProperties.sourceControlAuthProperties() |
Get the authorization properties for accessing the source code repository and to set up
webhooks for notifications.
|
AuthInfo |
AuthInfo.withExpiresIn(Integer expiresIn) |
Set time in seconds that the token remains valid.
|
AuthInfo |
AuthInfo.withRefreshToken(String refreshToken) |
Set the refresh token used to refresh the access token.
|
AuthInfo |
AuthInfo.withScope(String scope) |
Set the scope of the access token.
|
AuthInfo |
AuthInfo.withToken(String token) |
Set the access token used to access the source control provider.
|
AuthInfo |
AuthInfo.withTokenType(TokenType tokenType) |
Set the type of Auth token.
|
| Modifier and Type | Method | Description |
|---|---|---|
SourceProperties |
SourceProperties.withSourceControlAuthProperties(AuthInfo 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.
*/