| 1 | <?php  | 
            ||
| 16 | class AuthDeleteAction  | 
            ||
| 17 | { | 
            ||
| 18 | /**  | 
            ||
| 19 | * @var ResponseFactory  | 
            ||
| 20 | */  | 
            ||
| 21 | protected $responseFactory;  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @var OAuthProxy  | 
            ||
| 25 | */  | 
            ||
| 26 | protected $oAuthProxy;  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * AuthDeleteAction constructor.  | 
            ||
| 30 | *  | 
            ||
| 31 | * @param ResponseFactory $responseFactory  | 
            ||
| 32 | * @param OAuthProxy $oAuthProxy  | 
            ||
| 33 | */  | 
            ||
| 34 | public function __construct(ResponseFactory $responseFactory, OAuthProxy $oAuthProxy)  | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * @apiVersion 1.0.0  | 
            ||
| 42 |      * @api               {delete} /v1/auth/token Delete | 
            ||
| 43 | * @apiName Delete  | 
            ||
| 44 | * @apiGroup Auth  | 
            ||
| 45 |      * @apiHeader         {String} Accept application/json | 
            ||
| 46 |      * @apiSuccessExample {json} Success-Response: | 
            ||
| 47 | * HTTP/1.1 204 No Content  | 
            ||
| 48 | */  | 
            ||
| 49 | |||
| 50 | /**  | 
            ||
| 51 | * Delete an auth token.  | 
            ||
| 52 | *  | 
            ||
| 53 | * @param Request $request  | 
            ||
| 54 | * @return JsonResponse  | 
            ||
| 55 | */  | 
            ||
| 56 | public function __invoke(Request $request): JsonResponse  | 
            ||
| 63 | }  | 
            ||
| 64 |