Typdefinitionen
Vollständige TypeScript-Typreferenz für das authsafe-ts SDK.
Überblick
Umfassende Typdefinitionen für OAuth-Typen (OAuthConfig, User, TokenResponse, SignoutOptions), MFA-Typen (MfaMethod, TotpSetupResponse, MfaVerifyResponse) und SSO-Typen (SSOConnection, SAMLConfig, OIDCConfig).
Grundlegende Verwendung
interface OAuthConfig {
clientId: string;
redirectUri: string;
scope?: string[];
authority?: string;
env?: 'development' | 'production';
}