Type Definitions
Complete TypeScript type reference for the authsafe-ts SDK.
Overview
Comprehensive type definitions covering OAuth types (OAuthConfig, User, TokenResponse, SignoutOptions), MFA types (MfaMethod, TotpSetupResponse, MfaVerifyResponse), and SSO types (SSOConnection, SAMLConfig, OIDCConfig).
Basic Usage
interface OAuthConfig {
clientId: string;
redirectUri: string;
scope?: string[];
authority?: string;
env?: 'development' | 'production';
}