Skip to content

Commit

Permalink
Bugfix | Restore wrongly moved AbstractOAuthToken::getCredentials()
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed Dec 8, 2021
1 parent ae5ad22 commit 364c13b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 8 additions & 0 deletions Security/Core/Authentication/Token/AbstractOAuthToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ public function __unserialize(array $data): void
}
}

/**
* @return mixed|void
*/
public function getCredentials()
{
return '';
}

/**
* @param string $accessToken The OAuth access token
*/
Expand Down
6 changes: 0 additions & 6 deletions Security/Core/Authentication/Token/OAuthToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,4 @@

class OAuthToken extends AbstractOAuthToken
{
/**
* @return mixed|void
*/
public function getCredentials()
{
}
}

0 comments on commit 364c13b

Please sign in to comment.