1: | <?php declare(strict_types=1); |
2: | |
3: | namespace Salient\Contract\Http; |
4: | |
5: | /** |
6: | * @api |
7: | */ |
8: | interface CredentialInterface |
9: | { |
10: | /** |
11: | * Get the authentication scheme of the credential, e.g. "Bearer" |
12: | */ |
13: | public function getAuthenticationScheme(): string; |
14: | |
15: | /** |
16: | * Get the credential |
17: | */ |
18: | public function getCredential(): string; |
19: | } |
20: |