forked from apoloz/alfa-bank-sdk
refactor: dto, requests, connector
This commit is contained in:
@@ -119,5 +119,15 @@ class AlfaBankConnector extends Connector implements HasPagination
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable automated JWS response verification and decoding.
|
||||
*/
|
||||
public function withJwsVerification(string $publicKeyPem): static
|
||||
{
|
||||
$this->middleware()->onResponse(new \Apoloz\AlfaBank\Http\Middleware\VerifyJwsResponseMiddleware($publicKeyPem));
|
||||
|
||||
return $this;
|
||||
}
|
||||
// </SECTION>
|
||||
}
|
||||
Reference in New Issue
Block a user