public static interface RegistrySourceTrigger.UpdateStages.RepositoryBranchAndAuth
Modifier and Type | Method and Description |
---|---|
RegistrySourceTrigger.Update |
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 |
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 |
withRepositoryBranch(String branch)
The function that specifies the branch of the respository to use.
|
RegistrySourceTrigger.Update withRepositoryBranch(String branch)
branch
- the repository branch.RegistrySourceTrigger.Update withRepositoryAuthentication(TokenType tokenType, String token)
tokenType
- the type of the token used to authenticate to the source control repository.token
- the token used to authenticate to the source control repository.RegistrySourceTrigger.Update withRepositoryAuthentication(TokenType tokenType, String token, String refreshToken, String scope, int expiresIn)
tokenType
- the type of the token used to authenticate to the source control repository.token
- the token used to authenticate to the source control repository.refreshToken
- the token that is used to refresh the access token.scope
- the scope of the access token.expiresIn
- time in seconds that the token remains valid.Copyright © 2019. All rights reserved.