next_auth library

Classes

CredentialsSignInOptions
Options for credentials-based sign in
EmailSignInOptions
Options for email-based sign in
HttpClient
Abstract HTTP client interface
HttpClientOptions
Options for HTTP client requests
HttpResponse
HTTP response wrapper
Logger
Abstract logger interface
NextAuthClient<T>
NextAuth client instance Create an instance and use it to manage authentication
NextAuthConfig<T>
Configuration for NextAuth client
NextAuthEvent
Base class for all NextAuth events
OAuthAuthorizationData
OAuth authorization data containing tokens
OAuthProvider
Abstract OAuth provider interface
OAuthProviderRegistry
Registry for managing OAuth providers
OAuthSignInOptions
Options for OAuth-based sign in
SessionChangedEvent<T>
Event fired when session data changes
SessionSerializer<T>
Serializer for converting session data between JSON and typed objects
SignedInEvent
Event fired when user signs in successfully
SignedOutEvent
Event fired when user signs out
SignInResponse
Response from sign in operation
StatusChangedEvent
Event fired when session status changes

Enums

HttpClientResponseType
HTTP response content type
SessionStatus
Session authentication status