blob: 95a6ecb2f7cce24f32366299a21989e369590283 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
namespace Studip\OAuth2\Exceptions;
class InvalidAuthTokenException extends \AccessDeniedException
{
/**
* Create a new InvalidAuthTokenException for different auth tokens.
*
* @return InvalidAuthTokenException
*/
public static function different()
{
return new InvalidAuthTokenException('The provided auth token for the request is different from the session auth token.');
}
}
|