File tree Expand file tree Collapse file tree 10 files changed +22
-10
lines changed Expand file tree Collapse file tree 10 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 8
8
9
9
/**
10
10
* Represents errors during OAuth protocol.
11
+ * @psalm-api
11
12
*/
12
- final class OAuthException extends RuntimeException implements OAuthExceptionInterface
13
+ class OAuthException extends RuntimeException implements OAuthExceptionInterface
13
14
{
14
15
}
Original file line number Diff line number Diff line change 11
11
* Implementation of the OAuth authorization grant type.
12
12
* @psalm-api
13
13
*/
14
- final class AuthorizationCodeGrantType implements RefreshableGrantTypeInterface
14
+ class AuthorizationCodeGrantType implements RefreshableGrantTypeInterface
15
15
{
16
16
use TokensExtractor;
17
17
Original file line number Diff line number Diff line change 11
11
* Implementation of the OAuth client credentials grant type.
12
12
* @psalm-api
13
13
*/
14
- final class ClientCredentialsGrantType implements GrantTypeInterface
14
+ class ClientCredentialsGrantType implements GrantTypeInterface
15
15
{
16
16
use TokensExtractor;
17
17
Original file line number Diff line number Diff line change 11
11
* Implementation of the OAuth password grant type.
12
12
* @psalm-api
13
13
*/
14
- final class PasswordGrantType implements GrantTypeInterface
14
+ class PasswordGrantType implements GrantTypeInterface
15
15
{
16
16
use TokensExtractor;
17
17
Original file line number Diff line number Diff line change 9
9
10
10
/**
11
11
* Implementation of the OAuth refresh token grant type.
12
+ * @psalm-api
12
13
*/
13
- final class RefreshTokenGrantType implements GrantTypeInterface
14
+ class RefreshTokenGrantType implements GrantTypeInterface
14
15
{
15
16
use TokensExtractor;
16
17
Original file line number Diff line number Diff line change 6
6
7
7
/**
8
8
* Value object for an access token and a refresh token.
9
+ * @psalm-api
9
10
*/
10
- final class Tokens
11
+ class Tokens
11
12
{
12
13
private string $ accessToken ;
13
14
Original file line number Diff line number Diff line change 4
4
5
5
namespace BenjaminFavre \OAuthHttpClient \RequestSigner ;
6
6
7
- final class BearerHeaderRequestSigner extends HeaderRequestSigner
7
+ /**
8
+ * @psalm-api
9
+ */
10
+ class BearerHeaderRequestSigner extends HeaderRequestSigner
8
11
{
9
12
public function __construct ()
10
13
{
Original file line number Diff line number Diff line change 6
6
7
7
use Symfony \Contracts \HttpClient \ResponseInterface ;
8
8
9
- final class StatusCode401ResponseChecker implements ResponseCheckerInterface
9
+ /**
10
+ * @psalm-api
11
+ */
12
+ class StatusCode401ResponseChecker implements ResponseCheckerInterface
10
13
{
11
14
#[\Override]
12
15
public function hasAuthenticationFailed (ResponseInterface $ response ): bool
Original file line number Diff line number Diff line change 7
7
use BenjaminFavre \OAuthHttpClient \GrantType \GrantTypeInterface ;
8
8
use BenjaminFavre \OAuthHttpClient \GrantType \Tokens ;
9
9
10
- final class MemoryTokensCache implements TokensCacheInterface
10
+ /**
11
+ * @psalm-api
12
+ */
13
+ class MemoryTokensCache implements TokensCacheInterface
11
14
{
12
15
private ?Tokens $ tokens = null ;
13
16
Original file line number Diff line number Diff line change 12
12
/**
13
13
* @psalm-api
14
14
*/
15
- final class SymfonyTokensCacheAdapter implements TokensCacheInterface
15
+ class SymfonyTokensCacheAdapter implements TokensCacheInterface
16
16
{
17
17
private CacheInterface $ cache ;
18
18
You can’t perform that action at this time.
0 commit comments