Class PersonalAccessTokenCredential

java.lang.Object
org.azd.authentication.PersonalAccessTokenCredential
All Implemented Interfaces:
AccessTokenCredential

public class PersonalAccessTokenCredential extends Object implements AccessTokenCredential
Represents personal access token authentication model.
See Also:
  • Constructor Details

    • PersonalAccessTokenCredential

      public PersonalAccessTokenCredential(String organizationUrl, String personalAccessToken)
      Creates a new Personal access token credential provider object.
      Parameters:
      organizationUrl - Azure DevOps organization url.
      personalAccessToken - Personal access token.
    • PersonalAccessTokenCredential

      public PersonalAccessTokenCredential(String organizationUrl, String projectName, String personalAccessToken)
      Creates a new Personal access token credential provider object.
      Parameters:
      organizationUrl - Azure DevOps organization url.
      projectName - Pass the project name
      personalAccessToken - Personal access token.
  • Method Details