String of the provider, being used
ProfileData, returned from passport post-authentication step
boolean, true if the id in data needs to be prepended by the provider, false if not
JwtPayload, which gets sent back to the user in the next step
Generated using TypeDoc
Use the ProfileData to generate a payload object for JWT token (cast, extract relevant data, and return).