File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
src/Providers/Http/Contracts Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace WordPress \AiClient \Providers \Http \Contracts ;
6
6
7
+ use WordPress \AiClient \Common \Contracts \WithJsonSchemaInterface ;
7
8
use WordPress \AiClient \Providers \Http \DTO \Request ;
8
9
9
10
/**
10
11
* Interface for HTTP request authentication.
11
12
*
12
13
* @since n.e.x.t
13
14
*/
14
- interface RequestAuthenticationInterface
15
+ interface RequestAuthenticationInterface extends WithJsonSchemaInterface
15
16
{
16
17
/**
17
18
* Authenticates an HTTP request.
@@ -22,13 +23,4 @@ interface RequestAuthenticationInterface
22
23
* @return void
23
24
*/
24
25
public function authenticate (Request $ request ): void ;
25
-
26
- /**
27
- * Returns the JSON schema for this authentication.
28
- *
29
- * @since n.e.x.t
30
- *
31
- * @return array<string, mixed> The JSON schema.
32
- */
33
- public static function getJsonSchema (): array ;
34
26
}
You can’t perform that action at this time.
0 commit comments