MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / hasAuthCredentials

Function hasAuthCredentials

cli/src/utils/auth.ts:141–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139 * Check if the user has authentication credentials (but doesn't validate them)
140 */
141export const hasAuthCredentials = (): boolean => {
142 return !!getAuthTokenDetails().token
143}
144
145export interface AuthValidationResult {
146 authenticated: boolean

Callers

nothing calls this directly

Calls 1

getAuthTokenDetailsFunction · 0.85

Tested by

no test coverage detected