MCPcopy
hub / github.com/monkeytypegame/monkeytype / getAuthProvider

Function getAuthProvider

frontend/src/ts/auth.tsx:369–374  ·  view source on GitHub ↗
(
  authMethod: AuthMethod,
)

Source from the content-addressed store, hash-verified

367}
368
369export function getAuthProvider(
370 authMethod: AuthMethod,
371): AuthProvider | undefined {
372 const info = authMethods[authMethod] as AuthMethodInfo;
373 return info.provider;
374}
375
376export async function reauthenticate(
377 options: ReauthenticateOptions,

Callers 3

signInWithProviderFunction · 0.85
addAuthProviderFunction · 0.85
reauthenticateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected