issuer = $issuer; $this->metadata = $metadata; $this->jwksProvider = $jwksProvider ?? new MemoryJwksProvider(); $this->authMethodFactory = $authMethodFactory ?? new AuthMethodFactory([ new ClientSecretBasic(), new ClientSecretJwt(), new ClientSecretPost(), new None(), new PrivateKeyJwt(), new TLSClientAuth(), new SelfSignedTLSClientAuth(), ]); $this->httpClient = $httpClient; } #[Override] public function getIssuer(): IssuerInterface { return $this->issuer; } #[Override] public function getMetadata(): ClientMetadataInterface { return $this->metadata; } #[Override] public function getJwksProvider(): JwksProviderInterface { return $this->jwksProvider; } #[Override] public function getAuthMethodFactory(): AuthMethodFactoryInterface { return $this->authMethodFactory; } #[Override] public function getHttpClient(): ?HttpClient { return $this->httpClient; } }