interface Authentication
Interface Authentication
public
|
Request |
getTokenRequest()
|
No description | |
public
|
string|null |
getTokenFromResponse(Response $response)
|
No description |
getTokenRequest()
public Request getTokenRequest()
Request |
getTokenFromResponse()
public string|null getTokenFromResponse(Response $response)
Response |
$response |
string|null |
<?php
namespace SFClient\Auth;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
/**
* Interface Authentication
* @package SFClient\Auth
* @internal
*/
interface Authentication {
public function getTokenRequest(): Request;
public function getTokenFromResponse(Response $response): ?string;
}