Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Commit 5609c07

Browse files
committed
bitbucket: use the correct token type
Now that Bitbucket access tokens are allowed to be case to credentials, start returning them from `OAuthAuthenticator`.
1 parent b36d16f commit 5609c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bitbucket.Authentication/Src/OAuth/OAuthAuthenticator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ private Token FindAccessToken(string responseText)
323323
&& tokenMatch.Groups.Count > 1)
324324
{
325325
string tokenText = tokenMatch.Groups[1].Value;
326-
return new Token(tokenText, TokenType.Personal);
326+
return new Token(tokenText, TokenType.BitbucketAccess);
327327
}
328328

329329
return null;

0 commit comments

Comments
 (0)