Interfaces
Package: @nauth-toolkit/core
Type: TypeScript Interfaces
Configuration
- NAuthConfig - Top-level configuration interface
- RecaptchaConfig - reCAPTCHA integration settings
- SMSTemplateEngine - Template engine contract for SMS templates
- Configuration Guide - Complete
NAuthConfigreference (single source of truth)
Providers
- EmailProvider - Contract for sending emails
- SMSProvider - Contract for sending SMS messages (templates supported)
- StorageAdapter - Shared state adapter (rate limits, locks, token reuse)
Entities (interfaces)
Response types
- AuthResponseUser - Sanitized user object returned in auth responses
Adaptive MFA
- AdaptiveMFAUser - User context for risk assessment
- AdaptiveMFARiskEventPayload - Risk event hook payload
Platform adapter contracts
- NAuthAdapter - Framework adapter contract
- NAuthRequest - Framework-agnostic request shape
- NAuthResponse - Framework-agnostic response contract