, * _claim_sources?: array, * } * @psalm-type TokenSetAttributesType = array{}&array{ * code?: string, * access_token?: string, * id_token?: string, * token_type?: string, * refresh_token?: string, * expires_in?: int, * state?: string, * code_verifier?: string, * } * @psalm-type TokenSetType = array{}&array{code?: string, state?: string, token_type?: string, access_token?: string, id_token?: string, refresh_token?: string, expires_in?: int, code_verifier?: string} * @psalm-type TokenSetMixedType = TokenSetAttributesType&array{claims?: TokenSetClaimsType} */ interface TokenSetInterface { /** * Get all attributes. * * @return array * * @psalm-return TokenSetAttributesType */ public function getAttributes(): array; public function getTokenType(): ?string; public function getAccessToken(): ?string; public function getIdToken(): ?string; public function getRefreshToken(): ?string; public function getExpiresIn(): ?int; public function getCodeVerifier(): ?string; public function getCode(): ?string; public function getState(): ?string; /** * @return array * * @psalm-return TokenSetClaimsType */ public function claims(): array; public function withIdToken(string $idToken): self; /** * @param array $claims * * @psalm-param TokenSetClaimsType $claims * * @return $this */ public function withClaims(array $claims): self; }