Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 8b03d52

Browse files
committed
:octocat: docfix
1 parent d6a1b3c commit 8b03d52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class MyOauth1Provider extends Oauth1Provider{
163163
use chillerlan\OAuth\Providers\OAuth2Provider;
164164

165165
class MyOauth2Provider extends Oauth2Provider implements ClientCredentials, CSRFToken, TokenExpires, TokenRefresh{
166-
use OAuth2ClientCredentialsTrait, CSRFTokenTrait, OAuth2TokenRefreshTrait;
166+
use OAuth2ClientCredentialsTrait, OAuth2CSRFTokenTrait, OAuth2TokenRefreshTrait;
167167

168168
public const SCOPE_WHATEVER = 'whatever';
169169

@@ -223,7 +223,7 @@ method | return
223223
`getClientCredentialsToken(array $scopes = null)` | `AccessToken`
224224

225225
### `CSRFToken`
226-
implemented by `CSRFTokenTrait`
226+
implemented by `OAuth2CSRFTokenTrait`
227227

228228
method | return
229229
------ | ------

src/Core/OAuth2Provider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Psr\Http\Message\{RequestInterface, ResponseInterface, UriInterface};
1717

1818
/**
19-
* from CSRFTokenTrait:
19+
* from OAuth2CSRFTokenTrait:
2020
* @method array setState(array $params)
2121
* @method \chillerlan\OAuth\Core\OAuth2Interface checkState(string $state = null)
2222
*/

0 commit comments

Comments
 (0)