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

Commit ef7cdbc

Browse files
committed
:octocat: $accessTokenURL and $authURL don't need to be public
1 parent 08895f5 commit ef7cdbc

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Core/OAuthInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
};
2323

2424
/**
25-
* @property string $accessTokenURL
26-
* @property string $authURL
2725
* @property string $apiDocs
2826
* @property string $apiURL
2927
* @property string $applicationURL

src/Core/OAuthProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
use const chillerlan\HTTP\Psr7\{BOOLEANS_AS_INT_STRING, BOOLEANS_AS_BOOL};
3333

3434
/**
35-
* @property string $accessTokenURL
36-
* @property string $authURL
3735
* @property string $apiDocs
3836
* @property string $apiURL
3937
* @property string $applicationURL
@@ -46,7 +44,7 @@ abstract class OAuthProvider implements OAuthInterface{
4644
use LoggerAwareTrait;
4745

4846
protected const ALLOWED_PROPERTIES = [
49-
'accessTokenURL', 'apiDocs', 'apiURL', 'applicationURL', 'authURL', 'endpoints', 'revokeURL', 'serviceName', 'userRevokeURL'
47+
'apiDocs', 'apiURL', 'applicationURL', 'endpoints', 'revokeURL', 'serviceName', 'userRevokeURL'
5048
];
5149

5250
/**

0 commit comments

Comments
 (0)