Skip to content

Commit

Permalink
docs: added comment on Token field and ref to PAT documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dick Appel committed Dec 21, 2021
1 parent 0405f23 commit 3b2368d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jira.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,9 @@ func (t *BasicAuthTransport) transport() http.RoundTripper {

// PATAuthTransport is an http.RoundTripper that authenticates all requests
// using the Personal Access Token specified.
// See here for more info: https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html
type PATAuthTransport struct {
// Token is the key that was provided by Jira when creating the Personal Access Token.
Token string

// Transport is the underlying HTTP transport to use when making requests.
Expand Down

0 comments on commit 3b2368d

Please sign in to comment.