MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / isExpired

Method isExpired

chat/services/apiKeyStore.js:155–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 }
154
155 isExpired() {
156 if (!this.state.expiresAt) return false;
157 const expiryDate = new Date(this.state.expiresAt);
158 return expiryDate <= new Date();
159 }
160}
161
162// Export singleton instance

Callers 1

getApiKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected