$overrides * @return array */ public function graphOptions(array $overrides = []): array { if (! $this->resolved || $this->effectiveClientId === null || $this->clientSecret === null) { throw new RuntimeException($this->message ?? 'Provider identity could not be resolved.'); } return array_merge([ 'tenant' => $this->tenantContext, 'client_id' => $this->effectiveClientId, 'client_secret' => $this->clientSecret, 'client_request_id' => (string) Str::uuid(), ], $overrides); } public function effectiveReasonCode(): string { return $this->reasonCode ?? ProviderReasonCodes::UnknownError; } }