public static interface RegistrySourceTrigger.DefinitionStages.RepositoryBranchAndAuth
Modifier and Type | Method and Description |
---|---|
RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable |
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 |
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.DefinitionStages.SourceTriggerAttachable |
withRepositoryBranch(String branch)
The function that specifies the branch of the respository to use.
|
RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable withRepositoryBranch(String branch)
branch
- the repository branch.RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable 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.DefinitionStages.SourceTriggerAttachable 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.