NestJS - Authentication
Given this JwtStrategy validate method:
async validate(payload: any) {
return { userId: payload.sub, username: payload.username };
}
What will be the returned object if the token payload is { sub: 10, username: 'alice' }?