Debian Codegraph @

lib/3rdParty/composer/facile-it/php-openid-client/src/Client/Metadata/ClientMetadataInterface.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Facile\OpenIDClient\Client\Metadata;
6
7 use Facile\JoseVerifier\TokenVerifierInterface;
8 use JsonSerializable;
9 use Override;
10
11 /**
12 * @psalm-api
13 *
14 * @psalm-import-type ClientMetadataType from TokenVerifierInterface
15 * @psalm-import-type JWTPayloadType from TokenVerifierInterface
16 * @psalm-import-type JWKSetType from TokenVerifierInterface
17 */
18 interface ClientMetadataInterface extends JsonSerializable
19 {
20 /**
21 * @return mixed|null
22 */
23 public function get(string $name);
24
25 public function has(string $name): bool;
26
27 public function getClientId(): string;
28
29 public function getClientSecret(): ?string;
30
31 /**
32 * @return string[]
33 */
34 public function getRedirectUris(): array;
35
36 /**
37 * @return string[]
38 */
39 public function getResponseTypes(): array;
40
41 public function getTokenEndpointAuthMethod(): string;
42
43 public function getAuthorizationSignedResponseAlg(): ?string;
44
45 public function getAuthorizationEncryptedResponseAlg(): ?string;
46
47 public function getAuthorizationEncryptedResponseEnc(): ?string;
48
49 public function getIdTokenSignedResponseAlg(): string;
50
51 public function getIdTokenEncryptedResponseAlg(): ?string;
52
53 public function getIdTokenEncryptedResponseEnc(): ?string;
54
55 public function getUserinfoSignedResponseAlg(): ?string;
56
57 public function getUserinfoEncryptedResponseAlg(): ?string;
58
59 public function getUserinfoEncryptedResponseEnc(): ?string;
60
61 public function getRequestObjectSigningAlg(): ?string;
62
63 public function getRequestObjectEncryptionAlg(): ?string;
64
65 public function getRequestObjectEncryptionEnc(): ?string;
66
67 public function getIntrospectionEndpointAuthMethod(): string;
68
69 public function getRevocationEndpointAuthMethod(): string;
70
71 /**
72 * @psalm-return JWKSetType|null
73 */
74 public function getJwks(): ?array;
75
76 /**
77 * @return array<string, mixed>
78 *
79 * @psalm-return ClientMetadataType
80 */
81 public function toArray(): array;
82
83 /**
84 * @return ClientMetadataType
85 */
86 #[Override]
87 public function jsonSerialize(): array;
88 }