@nerdlat/auth
Version:
Authentication library similar to Clerk for React and Express applications
17 lines (16 loc) • 410 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.googleOAuth = googleOAuth;
async function googleOAuth(code) {
// TODO: implement token exchange and user data fetching
return {
id: '',
email: '',
name: '',
avatar: '',
provider: 'google',
createdAt: new Date(),
lastLogin: new Date(),
raw: {},
};
}