This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Authentication session | |
import { getServerSession } from "next-auth/next"; | |
import { NextAuthOptions, User } from "next-auth"; | |
import { AdapterUser } from "next-auth/adapters"; | |
import GoogleProvider from "next-auth/providers/google"; | |
import jsonwebtoken from "jsonwebtoken"; | |
import { JWT } from "next-auth/jwt"; | |
import Google from "next-auth/providers/google"; | |
export const authOptions: NextAuthOptions = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java Class has two primary elements. | |
1. methods | |
2. function | |
Together these called the member of the Class. | |
Method has return type such as String, Int | |
and there is a spacial type called void which means no value at all. | |
parameter: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|