TypeScript SDK
Official AuthSafe SDK for TypeScript and JavaScript applications with type-safe authentication services.
Overview
The AuthSafe TypeScript SDK provides a robust, type-safe implementation of OAuth 2.1 and OpenID Connect authentication for browser-based applications. Built on top of oidc-client-ts, it handles all the complexity of modern authentication flows with built-in security features.
Installation
npm install authsafe-typescriptAvailable APIs
Server-Side
- OAuthService — Core OAuth 2.1/OIDC authentication service
- HttpService — HTTP client for authenticated API requests
APIs
- UserAPI — User profile management and account operations
- MfaAPI — Multi-factor authentication management
- BrandingAPI — Branding and theming configuration
- SsoAPI — Single Sign-On configuration and management