RegisterLogin
DocsPricing
RegisterLogin
  • Getting Started
  • Introduction
  • Quick Start
  • SDKs
  • React
  • TypeScript
  • Next.js
  • Express
  • NestJS
  • Python
  • API Reference
  • Support and Resources
  • FAQ
  • Contact

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';
}

Best Practices
  • OAuthConfig — Configuration for OAuthService initialization
  • User — Authenticated user object with id_token, access_token, profile, and expiration
  • MfaMethod — Configured MFA method with id, type, is_primary, and timestamps

AuthSafe

Product

HighlightFeatureIntegrationPricingFAQ

Company

AboutBlogContact

Developer

DashboardDocumentation

Legal

Terms & ConditionsPrivacyComplianceShippingCancellationAI

© 2026 AuthSafe. All rights reserved.

We value your privacy

This website uses cookies for anonymous analytics to help us improve your experience. No personal information is stored or shared. You can allow or reject analytics tracking at any time. See our Privacy Policy.

We use cookies for anonymous analytics. No personal info is stored. See our Privacy Policy.