MCPcopy Create free account
hub / github.com/ShipSecAI/studio / resolvedProviderForReturn

Function resolvedProviderForReturn

frontend/src/auth/store-integration.ts:132–140  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

130}
131
132function resolvedProviderForReturn(name: string): 'local' | 'clerk' | 'custom' {
133 if (name === 'clerk') {
134 return 'clerk';
135 }
136 if (name === 'local') {
137 return 'local';
138 }
139 return 'custom';
140}
141
142/**
143 * Migration utility to help transition from manual token management to provider-based auth

Callers 1

useAuthProviderSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected