MCPcopy Create free account
hub / github.com/agent-tower/core / assertPasswordInput

Function assertPasswordInput

packages/server/src/services/access-auth.service.ts:74–78  ·  view source on GitHub ↗
(password: string, field = 'Password')

Source from the content-addressed store, hash-verified

72 constructor(message: string, code: string, statusCode = 400) {
73 super(message, code, statusCode);
74 this.name = 'AccessAuthError';
75 }
76}
77
78function newSecret(): string {
79 return randomBytes(32).toString('base64url');
80}
81

Callers 2

hashPasswordFunction · 0.85
updateSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected