MCPcopy Create free account
hub / github.com/amplication/sample-app / login

Method login

apps/ecommerce-server/src/auth/auth.resolver.ts:14–16  ·  view source on GitHub ↗
(@Args() args: LoginArgs)

Source from the content-addressed store, hash-verified

12 constructor(private readonly authService: AuthService) {}
13 @Mutation(() => UserInfo)
14 async login(@Args() args: LoginArgs): Promise<UserInfo> {
15 return this.authService.login(args.credentials);
16 }
17
18 @Query(() => UserInfo)
19 @common.UseGuards(GqlDefaultAuthGuard, gqlACGuard.GqlACGuard)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected