aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/OAuth2/Exceptions/InvalidAuthTokenException.php
blob: 69949b150b80044bd895ebf12950697f42005d0c (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 static
     */
    public static function different()
    {
        return new static('The provided auth token for the request is different from the session auth token.');
    }
}