File tree Expand file tree Collapse file tree 3 files changed +19
-38
lines changed Expand file tree Collapse file tree 3 files changed +19
-38
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace UnzerSDK \Apis ;
4
+
5
+ use UnzerSDK \Apis \Constants \AuthorizationMethods ;
6
+
7
+
8
+ /**
9
+ * Config for Payment API (PAPI) with bearer authentication.
10
+ */
11
+ class PaymentApiConfigBearerAuth extends PaymentApiConfig
12
+ {
13
+ public static function getAuthorizationMethod (): string
14
+ {
15
+ return AuthorizationMethods::BEARER ;
16
+ }
17
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
namespace UnzerSDK \Resources \V2 ;
4
4
5
- use UnzerSDK \Apis \PaymentApiJwtConfig ;
5
+ use UnzerSDK \Apis \PaymentApiConfigBearerAuth ;
6
6
use UnzerSDK \Resources \Customer as CustomerV1 ;
7
7
8
8
class Customer extends CustomerV1
@@ -14,7 +14,7 @@ public function getApiVersion(): string
14
14
15
15
public function getApiConfig (): string
16
16
{
17
- return PaymentApiJwtConfig ::class;
17
+ return PaymentApiConfigBearerAuth ::class;
18
18
}
19
19
20
20
You can’t perform that action at this time.
0 commit comments