Validates the active session by passing authOptions to getServerSessionhttps://next-auth.js.org/configuration/nextjs#getserversession, returning a session object or null depending on result.
Session object.
Validates the active session by passing authOptions to getServerSessionhttps://next-auth.js.org/configuration/nextjs#getserversession, returning a session object or null depending on result.