MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / postAuthentication

Function postAuthentication

apps/webapp/app/services/postAuth.server.ts:4–14  ·  view source on GitHub ↗
({
  user,
  loginMethod,
  isNewUser,
}: {
  user: User;
  loginMethod: User["authenticationMethod"];
  isNewUser: boolean;
})

Source from the content-addressed store, hash-verified

2import { telemetry } from "./telemetry.server";
3
4export async function postAuthentication({
5 user,
6 loginMethod,
7 isNewUser,
8}: {
9 user: User;
10 loginMethod: User["authenticationMethod"];
11 isNewUser: boolean;
12}) {
13 telemetry.user.identify({ user, isNewUser });
14}

Callers 2

addGitHubStrategyFunction · 0.90

Calls 1

identifyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…