MCPcopy
hub / github.com/nextauthjs/next-auth / UseSessionOptions

Interface UseSessionOptions

src/react/types.ts:4–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import type { BuiltInProviderType, ProviderType } from "../providers"
3
4export interface UseSessionOptions<R extends boolean> {
5 required: R
6 /** Defaults to `signIn` */
7 onUnauthenticated?: () => void
8}
9
10/**
11 * Util type that matches some strings literally, but allows any other string as well.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…