MCPcopy
hub / github.com/epicweb-dev/epic-stack / AuthProvider

Interface AuthProvider

app/utils/providers/provider.ts:13–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13export interface AuthProvider {
14 getAuthStrategy(): Strategy<ProviderUser, any>
15 handleMockAction(request: Request): Promise<void>
16 resolveConnectionData(
17 providerId: string,
18 options?: { timings?: Timings },
19 ): Promise<{
20 displayName: string
21 link?: string | null
22 }>
23}
24
25export const normalizeEmail = (s: string) => s.toLowerCase()
26

Callers 3

auth.server.tsFile · 0.65
handleMockActionFunction · 0.65
resolveConnectionDataFunction · 0.65

Implementers 1

GitHubProviderapp/utils/providers/github.server.ts

Calls

no outgoing calls

Tested by

no test coverage detected