AuthenticateUseCase.php 288 Bytes
Newer Older
Jacob Priddy's avatar
Jacob Priddy committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php


namespace Source\UseCases\Token\Authenticate;


interface AuthenticateUseCase {
    /**
     * Authenticates an API token
     *
     * @param Presenter   $presenter
     * @param string|null $token
     */
    public function check(Presenter $presenter, ?string $token): void;
}