capacitor-auth-manager 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sources":["esm/definitions.js","esm/index.js","esm/utils/auth-error.js","esm/utils/event-emitter.js","esm/utils/storage.js","esm/utils/logger.js","esm/providers/base-provider.js","esm/providers/oauth-provider.js","esm/providers/web/google-provider.js","esm/providers/web/apple-provider.js","esm/providers/provider-factory.js","esm/web.js"],"sourcesContent":["export var AuthProvider;\n(function (AuthProvider) {\n AuthProvider[\"GOOGLE\"] = \"google\";\n AuthProvider[\"APPLE\"] = \"apple\";\n AuthProvider[\"MICROSOFT\"] = \"microsoft\";\n AuthProvider[\"FACEBOOK\"] = \"facebook\";\n AuthProvider[\"GITHUB\"] = \"github\";\n AuthProvider[\"SLACK\"] = \"slack\";\n AuthProvider[\"LINKEDIN\"] = \"linkedin\";\n AuthProvider[\"FIREBASE\"] = \"firebase\";\n AuthProvider[\"EMAIL_MAGIC_LINK\"] = \"email_magic_link\";\n AuthProvider[\"SMS\"] = \"sms\";\n AuthProvider[\"EMAIL_PASSWORD\"] = \"email_password\";\n AuthProvider[\"PHONE_PASSWORD\"] = \"phone_password\";\n AuthProvider[\"USERNAME_PASSWORD\"] = \"username_password\";\n AuthProvider[\"EMAIL_CODE\"] = \"email_code\";\n AuthProvider[\"BIOMETRIC\"] = \"biometric\";\n})(AuthProvider || (AuthProvider = {}));\nexport var AppleAuthScope;\n(function (AppleAuthScope) {\n AppleAuthScope[\"EMAIL\"] = \"email\";\n AppleAuthScope[\"NAME\"] = \"name\";\n})(AppleAuthScope || (AppleAuthScope = {}));\nexport var BiometricType;\n(function (BiometricType) {\n BiometricType[\"FINGERPRINT\"] = \"fingerprint\";\n BiometricType[\"FACE_ID\"] = \"faceId\";\n BiometricType[\"TOUCH_ID\"] = \"touchId\";\n BiometricType[\"IRIS\"] = \"iris\";\n BiometricType[\"VOICE\"] = \"voice\";\n})(BiometricType || (BiometricType = {}));\nexport var AuthPersistence;\n(function (AuthPersistence) {\n AuthPersistence[\"LOCAL\"] = \"local\";\n AuthPersistence[\"SESSION\"] = \"session\";\n AuthPersistence[\"NONE\"] = \"none\";\n})(AuthPersistence || (AuthPersistence = {}));\nexport var AuthErrorCode;\n(function (AuthErrorCode) {\n AuthErrorCode[\"INVALID_CREDENTIALS\"] = \"auth/invalid-credentials\";\n AuthErrorCode[\"USER_NOT_FOUND\"] = \"auth/user-not-found\";\n AuthErrorCode[\"WRONG_PASSWORD\"] = \"auth/wrong-password\";\n AuthErrorCode[\"EMAIL_ALREADY_IN_USE\"] = \"auth/email-already-in-use\";\n AuthErrorCode[\"WEAK_PASSWORD\"] = \"auth/weak-password\";\n AuthErrorCode[\"NETWORK_ERROR\"] = \"auth/network-error\";\n AuthErrorCode[\"TOO_MANY_REQUESTS\"] = \"auth/too-many-requests\";\n AuthErrorCode[\"USER_DISABLED\"] = \"auth/user-disabled\";\n AuthErrorCode[\"OPERATION_NOT_ALLOWED\"] = \"auth/operation-not-allowed\";\n AuthErrorCode[\"INVALID_EMAIL\"] = \"auth/invalid-email\";\n AuthErrorCode[\"INVALID_PHONE_NUMBER\"] = \"auth/invalid-phone-number\";\n AuthErrorCode[\"INVALID_VERIFICATION_CODE\"] = \"auth/invalid-verification-code\";\n AuthErrorCode[\"EXPIRED_ACTION_CODE\"] = \"auth/expired-action-code\";\n AuthErrorCode[\"CREDENTIAL_ALREADY_IN_USE\"] = \"auth/credential-already-in-use\";\n AuthErrorCode[\"ACCOUNT_EXISTS_WITH_DIFFERENT_CREDENTIAL\"] = \"auth/account-exists-with-different-credential\";\n AuthErrorCode[\"REQUIRES_RECENT_LOGIN\"] = \"auth/requires-recent-login\";\n AuthErrorCode[\"PROVIDER_ALREADY_LINKED\"] = \"auth/provider-already-linked\";\n AuthErrorCode[\"NO_SUCH_PROVIDER\"] = \"auth/no-such-provider\";\n AuthErrorCode[\"INVALID_USER_TOKEN\"] = \"auth/invalid-user-token\";\n AuthErrorCode[\"TOKEN_EXPIRED\"] = \"auth/token-expired\";\n AuthErrorCode[\"USER_TOKEN_EXPIRED\"] = \"auth/user-token-expired\";\n AuthErrorCode[\"INVALID_API_KEY\"] = \"auth/invalid-api-key\";\n AuthErrorCode[\"USER_CANCELLED\"] = \"auth/user-cancelled\";\n AuthErrorCode[\"APP_NOT_AUTHORIZED\"] = \"auth/app-not-authorized\";\n AuthErrorCode[\"KEYCHAIN_ERROR\"] = \"auth/keychain-error\";\n AuthErrorCode[\"INTERNAL_ERROR\"] = \"auth/internal-error\";\n AuthErrorCode[\"BIOMETRIC_NOT_AVAILABLE\"] = \"auth/biometric-not-available\";\n AuthErrorCode[\"BIOMETRIC_NOT_ENROLLED\"] = \"auth/biometric-not-enrolled\";\n AuthErrorCode[\"BIOMETRIC_AUTHENTICATION_FAILED\"] = \"auth/biometric-authentication-failed\";\n AuthErrorCode[\"UNSUPPORTED_PROVIDER\"] = \"auth/unsupported-provider\";\n AuthErrorCode[\"MISSING_CONFIGURATION\"] = \"auth/missing-configuration\";\n AuthErrorCode[\"POPUP_BLOCKED\"] = \"auth/popup-blocked\";\n AuthErrorCode[\"POPUP_CLOSED_BY_USER\"] = \"auth/popup-closed-by-user\";\n AuthErrorCode[\"REDIRECT_CANCELLED_BY_USER\"] = \"auth/redirect-cancelled-by-user\";\n AuthErrorCode[\"MISSING_REDIRECT_URL\"] = \"auth/missing-redirect-url\";\n AuthErrorCode[\"INVALID_STATE\"] = \"auth/invalid-state\";\n AuthErrorCode[\"MISSING_CODE_VERIFIER\"] = \"auth/missing-code-verifier\";\n AuthErrorCode[\"INVALID_CODE_VERIFIER\"] = \"auth/invalid-code-verifier\";\n AuthErrorCode[\"MISSING_NONCE\"] = \"auth/missing-nonce\";\n AuthErrorCode[\"INVALID_NONCE\"] = \"auth/invalid-nonce\";\n AuthErrorCode[\"UNAUTHORIZED_DOMAIN\"] = \"auth/unauthorized-domain\";\n AuthErrorCode[\"INVALID_CONTINUE_URL\"] = \"auth/invalid-continue-url\";\n AuthErrorCode[\"MISSING_CONTINUE_URL\"] = \"auth/missing-continue-url\";\n AuthErrorCode[\"INVALID_DYNAMIC_LINK_DOMAIN\"] = \"auth/invalid-dynamic-link-domain\";\n AuthErrorCode[\"REJECTED_CREDENTIAL\"] = \"auth/rejected-credential\";\n AuthErrorCode[\"PHONE_NUMBER_ALREADY_EXISTS\"] = \"auth/phone-number-already-exists\";\n AuthErrorCode[\"QUOTA_EXCEEDED\"] = \"auth/quota-exceeded\";\n AuthErrorCode[\"CAPTCHA_CHECK_FAILED\"] = \"auth/captcha-check-failed\";\n AuthErrorCode[\"MISSING_CAPTCHA_TOKEN\"] = \"auth/missing-captcha-token\";\n AuthErrorCode[\"INVALID_CAPTCHA_TOKEN\"] = \"auth/invalid-captcha-token\";\n AuthErrorCode[\"MISSING_CLIENT_IDENTIFIER\"] = \"auth/missing-client-identifier\";\n AuthErrorCode[\"MISSING_OR_INVALID_NONCE\"] = \"auth/missing-or-invalid-nonce\";\n AuthErrorCode[\"INTERACTION_REQUIRED\"] = \"auth/interaction-required\";\n AuthErrorCode[\"LOGIN_REQUIRED\"] = \"auth/login-required\";\n AuthErrorCode[\"CONSENT_REQUIRED\"] = \"auth/consent-required\";\n AuthErrorCode[\"INVALID_GRANT\"] = \"auth/invalid-grant\";\n AuthErrorCode[\"UNSUPPORTED_GRANT_TYPE\"] = \"auth/unsupported-grant-type\";\n AuthErrorCode[\"INVALID_SCOPE\"] = \"auth/invalid-scope\";\n AuthErrorCode[\"INVALID_REQUEST\"] = \"auth/invalid-request\";\n AuthErrorCode[\"CLIENT_NOT_FOUND\"] = \"auth/client-not-found\";\n AuthErrorCode[\"ACCESS_DENIED\"] = \"auth/access-denied\";\n AuthErrorCode[\"SERVER_ERROR\"] = \"auth/server-error\";\n AuthErrorCode[\"TEMPORARILY_UNAVAILABLE\"] = \"auth/temporarily-unavailable\";\n})(AuthErrorCode || (AuthErrorCode = {}));\n//# sourceMappingURL=definitions.js.map","import { registerPlugin } from '@capacitor/core';\nconst CapacitorAuthManager = registerPlugin('CapacitorAuthManager', {\n web: () => import('./web').then(m => new m.CapacitorAuthManagerWeb()),\n});\nexport * from './definitions';\nexport { CapacitorAuthManager };\n//# sourceMappingURL=index.js.map","import { AuthErrorCode } from '../definitions';\nexport class AuthError extends Error {\n constructor(code, message, provider, details) {\n super(message);\n this.name = 'AuthError';\n this.code = code;\n this.provider = provider;\n this.details = details;\n // Maintains proper stack trace for where our error was thrown (only available on V8)\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, AuthError);\n }\n }\n static fromError(error, provider) {\n if (error instanceof AuthError) {\n return error;\n }\n let code = AuthErrorCode.INTERNAL_ERROR;\n let message = 'An unknown error occurred';\n let details = error;\n if (error instanceof Error) {\n message = error.message;\n // Try to map common error patterns to specific error codes\n if (error.message.includes('network')) {\n code = AuthErrorCode.NETWORK_ERROR;\n }\n else if (error.message.includes('cancelled') || error.message.includes('canceled')) {\n code = AuthErrorCode.USER_CANCELLED;\n }\n else if (error.message.includes('timeout')) {\n code = AuthErrorCode.NETWORK_ERROR;\n }\n }\n // Handle provider-specific error codes\n if (error === null || error === void 0 ? void 0 : error.code) {\n code = error.code;\n }\n return new AuthError(code, message, provider, details);\n }\n toJSON() {\n return {\n name: this.name,\n code: this.code,\n message: this.message,\n provider: this.provider,\n details: this.details,\n };\n }\n}\nexport function isAuthError(error) {\n return error instanceof AuthError || ((error === null || error === void 0 ? void 0 : error.name) === 'AuthError' && (error === null || error === void 0 ? void 0 : error.code));\n}\n//# sourceMappingURL=auth-error.js.map","export class EventEmitter {\n constructor() {\n this.listeners = new Set();\n }\n emit(data) {\n this.listeners.forEach(listener => {\n try {\n listener(data);\n }\n catch (error) {\n console.error('Error in event listener:', error);\n }\n });\n }\n subscribe(listener) {\n this.listeners.add(listener);\n return () => {\n this.listeners.delete(listener);\n };\n }\n clear() {\n this.listeners.clear();\n }\n get listenerCount() {\n return this.listeners.size;\n }\n}\n//# sourceMappingURL=event-emitter.js.map","import { AuthPersistence } from '../definitions';\nexport class WebStorage {\n constructor(persistence = AuthPersistence.LOCAL, prefix = 'cap_auth_') {\n this.prefix = prefix;\n switch (persistence) {\n case AuthPersistence.SESSION:\n this.storage = window.sessionStorage;\n break;\n case AuthPersistence.LOCAL:\n this.storage = window.localStorage;\n break;\n case AuthPersistence.NONE:\n // Use in-memory storage\n this.storage = new InMemoryStorage();\n break;\n default:\n this.storage = window.localStorage;\n }\n }\n async get(key) {\n try {\n return this.storage.getItem(this.prefix + key);\n }\n catch (error) {\n console.error('Storage get error:', error);\n return null;\n }\n }\n async set(key, value) {\n try {\n this.storage.setItem(this.prefix + key, value);\n }\n catch (error) {\n console.error('Storage set error:', error);\n throw error;\n }\n }\n async remove(key) {\n try {\n this.storage.removeItem(this.prefix + key);\n }\n catch (error) {\n console.error('Storage remove error:', error);\n }\n }\n async clear() {\n try {\n const keys = [];\n for (let i = 0; i < this.storage.length; i++) {\n const key = this.storage.key(i);\n if (key && key.startsWith(this.prefix)) {\n keys.push(key);\n }\n }\n keys.forEach(key => this.storage.removeItem(key));\n }\n catch (error) {\n console.error('Storage clear error:', error);\n }\n }\n}\nclass InMemoryStorage {\n constructor() {\n this.data = new Map();\n }\n get length() {\n return this.data.size;\n }\n clear() {\n this.data.clear();\n }\n getItem(key) {\n return this.data.get(key) || null;\n }\n key(index) {\n const keys = Array.from(this.data.keys());\n return keys[index] || null;\n }\n removeItem(key) {\n this.data.delete(key);\n }\n setItem(key, value) {\n this.data.set(key, value);\n }\n}\n//# sourceMappingURL=storage.js.map","export class Logger {\n constructor(config) {\n this.logLevels = {\n debug: 0,\n info: 1,\n warn: 2,\n error: 3,\n };\n this.config = config;\n }\n shouldLog(level) {\n if (!this.config.enableLogging)\n return false;\n return this.logLevels[level] >= this.logLevels[this.config.logLevel];\n }\n formatMessage(level, message) {\n const timestamp = new Date().toISOString();\n const prefix = this.config.prefix || 'CapacitorAuthManager';\n return `[${timestamp}] [${prefix}] [${level.toUpperCase()}] ${message}`;\n }\n debug(message, ...args) {\n if (this.shouldLog('debug')) {\n console.debug(this.formatMessage('debug', message), ...args);\n }\n }\n info(message, ...args) {\n if (this.shouldLog('info')) {\n console.info(this.formatMessage('info', message), ...args);\n }\n }\n warn(message, ...args) {\n if (this.shouldLog('warn')) {\n console.warn(this.formatMessage('warn', message), ...args);\n }\n }\n error(message, error) {\n if (this.shouldLog('error')) {\n console.error(this.formatMessage('error', message), error);\n }\n }\n setLogLevel(level) {\n this.config.logLevel = level;\n }\n setEnabled(enabled) {\n this.config.enableLogging = enabled;\n }\n}\n//# sourceMappingURL=logger.js.map","import { AuthErrorCode, AuthPersistence, } from '../definitions';\nimport { AuthError } from '../utils/auth-error';\nimport { EventEmitter } from '../utils/event-emitter';\nexport class BaseAuthProvider {\n constructor(config) {\n this.currentUser = null;\n this.isInitialized = false;\n this.provider = config.provider;\n this.options = config.options;\n this.storage = config.storage;\n this.logger = config.logger;\n this.persistence = config.persistence || AuthPersistence.LOCAL;\n this.authStateEmitter = new EventEmitter();\n }\n async getCurrentUser() {\n if (!this.isInitialized) {\n await this.initialize();\n }\n return this.currentUser;\n }\n addAuthStateListener(callback) {\n return this.authStateEmitter.subscribe(callback);\n }\n async setCurrentUser(user) {\n this.currentUser = user;\n // Persist user to storage\n const storageKey = `${this.provider}_current_user`;\n if (user) {\n await this.storage.set(storageKey, JSON.stringify(user));\n }\n else {\n await this.storage.remove(storageKey);\n }\n // Emit auth state change\n this.authStateEmitter.emit(user);\n }\n async loadCurrentUser() {\n try {\n const storageKey = `${this.provider}_current_user`;\n const userData = await this.storage.get(storageKey);\n if (userData) {\n this.currentUser = JSON.parse(userData);\n this.logger.debug(`Loaded user from storage for provider ${this.provider}`);\n }\n }\n catch (error) {\n this.logger.error('Failed to load user from storage', error);\n }\n }\n async saveCredential(credential) {\n const storageKey = `${this.provider}_credential`;\n await this.storage.set(storageKey, JSON.stringify(credential));\n }\n async loadCredential() {\n try {\n const storageKey = `${this.provider}_credential`;\n const credentialData = await this.storage.get(storageKey);\n if (credentialData) {\n return JSON.parse(credentialData);\n }\n }\n catch (error) {\n this.logger.error('Failed to load credential from storage', error);\n }\n return null;\n }\n async clearStoredData() {\n const userKey = `${this.provider}_current_user`;\n const credentialKey = `${this.provider}_credential`;\n await Promise.all([\n this.storage.remove(userKey),\n this.storage.remove(credentialKey),\n ]);\n }\n validateInitialized() {\n if (!this.isInitialized) {\n throw new AuthError(AuthErrorCode.INTERNAL_ERROR, `Provider ${this.provider} is not initialized`, this.provider);\n }\n }\n createAuthResult(user, credential, isNewUser = false, operationType = 'signIn') {\n return {\n user,\n credential,\n additionalUserInfo: {\n isNewUser,\n providerId: this.provider,\n },\n operationType,\n };\n }\n generateUniqueId() {\n return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;\n }\n isTokenExpired(expiresAt) {\n if (!expiresAt)\n return false;\n return Date.now() >= expiresAt;\n }\n calculateTokenExpiry(expiresIn) {\n if (!expiresIn) {\n // Default to 1 hour\n expiresIn = 3600;\n }\n return Date.now() + (expiresIn * 1000);\n }\n dispose() {\n this.authStateEmitter.clear();\n this.currentUser = null;\n this.isInitialized = false;\n }\n}\n//# sourceMappingURL=base-provider.js.map","import { AuthErrorCode, } from '../definitions';\nimport { BaseAuthProvider } from './base-provider';\nimport { AuthError } from '../utils/auth-error';\nexport class OAuthProvider extends BaseAuthProvider {\n async performOAuthFlow(options) {\n const config = this.getOAuthConfig();\n try {\n // Generate state and nonce for security\n const state = this.generateSecureRandomString();\n const nonce = this.generateSecureRandomString();\n // Store state and nonce for validation\n await this.storage.set(`${this.provider}_oauth_state`, state);\n await this.storage.set(`${this.provider}_oauth_nonce`, nonce);\n // Build authorization URL\n const authUrl = this.buildAuthorizationUrl(config, state, nonce, options);\n // Perform the OAuth flow (platform-specific implementation)\n const authResponse = await this.openAuthorizationUrl(authUrl);\n // Validate response\n await this.validateOAuthResponse(authResponse, state, nonce);\n // Exchange authorization code for tokens\n const tokenResponse = await this.exchangeCodeForTokens(authResponse.code, config);\n // Parse user information\n const userInfo = await this.parseUserFromTokenResponse(tokenResponse);\n // Create AuthUser and AuthCredential\n const user = this.createAuthUser(userInfo, tokenResponse);\n const credential = this.createOAuthCredential(tokenResponse);\n // Save user and credential\n await this.setCurrentUser(user);\n await this.saveCredential(credential);\n return this.createAuthResult(user, credential, userInfo.isNewUser);\n }\n catch (error) {\n this.logger.error(`OAuth flow failed for ${this.provider}`, error);\n throw AuthError.fromError(error, this.provider);\n }\n finally {\n // Clean up temporary storage\n await this.storage.remove(`${this.provider}_oauth_state`);\n await this.storage.remove(`${this.provider}_oauth_nonce`);\n }\n }\n buildAuthorizationUrl(config, state, nonce, options) {\n var _a, _b, _c, _d;\n const params = new URLSearchParams(Object.assign({ client_id: config.clientId, redirect_uri: config.redirectUri, response_type: config.responseType || 'code', state,\n nonce }, config.additionalParams));\n // Add scopes\n const scopes = ((_a = options === null || options === void 0 ? void 0 : options.options) === null || _a === void 0 ? void 0 : _a.scopes) || config.scopes || [];\n if (scopes.length > 0) {\n params.set('scope', scopes.join(' '));\n }\n // Add custom parameters\n if ((_b = options === null || options === void 0 ? void 0 : options.options) === null || _b === void 0 ? void 0 : _b.customParameters) {\n Object.entries(options.options.customParameters).forEach(([key, value]) => {\n params.set(key, value);\n });\n }\n // Add login hint if provided\n if ((_c = options === null || options === void 0 ? void 0 : options.options) === null || _c === void 0 ? void 0 : _c.loginHint) {\n params.set('login_hint', options.options.loginHint);\n }\n // Add prompt if provided\n if ((_d = options === null || options === void 0 ? void 0 : options.options) === null || _d === void 0 ? void 0 : _d.prompt) {\n params.set('prompt', options.options.prompt);\n }\n return `${config.authorizationEndpoint}?${params.toString()}`;\n }\n async validateOAuthResponse(response, expectedState, _expectedNonce) {\n if (response.error) {\n throw new AuthError(this.mapOAuthError(response.error), response.error_description || response.error, this.provider);\n }\n if (response.state !== expectedState) {\n throw new AuthError(AuthErrorCode.INVALID_STATE, 'OAuth state mismatch', this.provider);\n }\n // Nonce validation is done after ID token is received\n }\n async exchangeCodeForTokens(code, config) {\n const params = new URLSearchParams({\n grant_type: config.grantType || 'authorization_code',\n code,\n redirect_uri: config.redirectUri,\n client_id: config.clientId,\n });\n if (config.clientSecret) {\n params.set('client_secret', config.clientSecret);\n }\n try {\n const response = await fetch(config.tokenEndpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n body: params.toString(),\n });\n const data = await response.json();\n if (!response.ok) {\n throw new AuthError(this.mapOAuthError(data.error), data.error_description || 'Token exchange failed', this.provider, data);\n }\n return data;\n }\n catch (error) {\n if (error instanceof AuthError) {\n throw error;\n }\n throw new AuthError(AuthErrorCode.NETWORK_ERROR, 'Failed to exchange authorization code for tokens', this.provider, error);\n }\n }\n async refreshToken(_options) {\n this.validateInitialized();\n const credential = await this.loadCredential();\n if (!credential || !credential.refreshToken) {\n throw new AuthError(AuthErrorCode.INVALID_CREDENTIALS, 'No refresh token available', this.provider);\n }\n const config = this.getOAuthConfig();\n try {\n const params = new URLSearchParams({\n grant_type: 'refresh_token',\n refresh_token: credential.refreshToken,\n client_id: config.clientId,\n });\n if (config.clientSecret) {\n params.set('client_secret', config.clientSecret);\n }\n const response = await fetch(config.tokenEndpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n body: params.toString(),\n });\n const data = await response.json();\n if (!response.ok) {\n throw new AuthError(this.mapOAuthError(data.error), data.error_description || 'Token refresh failed', this.provider, data);\n }\n // Update credential with new tokens\n const newCredential = this.createOAuthCredential(data);\n await this.saveCredential(newCredential);\n // Update user if needed\n if (this.currentUser) {\n this.currentUser.refreshToken = newCredential.refreshToken;\n await this.setCurrentUser(this.currentUser);\n }\n return this.createAuthResult(this.currentUser, newCredential);\n }\n catch (error) {\n if (error instanceof AuthError) {\n throw error;\n }\n throw new AuthError(AuthErrorCode.NETWORK_ERROR, 'Failed to refresh token', this.provider, error);\n }\n }\n async revokeAccess(token) {\n const config = this.getOAuthConfig();\n if (!config.revokeEndpoint) {\n this.logger.warn(`Revoke endpoint not configured for ${this.provider}`);\n return;\n }\n try {\n const credential = await this.loadCredential();\n const tokenToRevoke = token || (credential === null || credential === void 0 ? void 0 : credential.accessToken);\n if (!tokenToRevoke) {\n throw new AuthError(AuthErrorCode.INVALID_CREDENTIALS, 'No token to revoke', this.provider);\n }\n const params = new URLSearchParams({\n token: tokenToRevoke,\n client_id: config.clientId,\n });\n if (config.clientSecret) {\n params.set('client_secret', config.clientSecret);\n }\n await fetch(config.revokeEndpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n body: params.toString(),\n });\n // Clear stored data regardless of response\n await this.clearStoredData();\n await this.setCurrentUser(null);\n }\n catch (error) {\n this.logger.error('Failed to revoke token', error);\n // Still clear local data even if revocation fails\n await this.clearStoredData();\n await this.setCurrentUser(null);\n }\n }\n createOAuthCredential(tokenResponse) {\n return {\n providerId: this.provider,\n signInMethod: 'oauth',\n accessToken: tokenResponse.access_token,\n idToken: tokenResponse.id_token,\n refreshToken: tokenResponse.refresh_token,\n expiresAt: tokenResponse.expires_in\n ? this.calculateTokenExpiry(tokenResponse.expires_in)\n : undefined,\n tokenType: tokenResponse.token_type,\n scope: tokenResponse.scope,\n };\n }\n createAuthUser(userInfo, tokenResponse) {\n return {\n uid: userInfo.id || userInfo.sub || this.generateUniqueId(),\n email: userInfo.email,\n emailVerified: userInfo.email_verified || false,\n displayName: userInfo.name || userInfo.displayName,\n photoURL: userInfo.picture || userInfo.photoURL,\n phoneNumber: userInfo.phone_number,\n isAnonymous: false,\n tenantId: null,\n providerData: [{\n providerId: this.provider,\n uid: userInfo.id || userInfo.sub,\n displayName: userInfo.name,\n email: userInfo.email,\n phoneNumber: userInfo.phone_number,\n photoURL: userInfo.picture,\n }],\n metadata: {\n creationTime: new Date().toISOString(),\n lastSignInTime: new Date().toISOString(),\n },\n refreshToken: tokenResponse.refresh_token,\n };\n }\n mapOAuthError(error) {\n const errorMap = {\n 'invalid_request': AuthErrorCode.INVALID_REQUEST,\n 'unauthorized_client': AuthErrorCode.APP_NOT_AUTHORIZED,\n 'access_denied': AuthErrorCode.ACCESS_DENIED,\n 'unsupported_response_type': AuthErrorCode.UNSUPPORTED_GRANT_TYPE,\n 'invalid_scope': AuthErrorCode.INVALID_SCOPE,\n 'server_error': AuthErrorCode.SERVER_ERROR,\n 'temporarily_unavailable': AuthErrorCode.TEMPORARILY_UNAVAILABLE,\n 'invalid_grant': AuthErrorCode.INVALID_GRANT,\n 'invalid_client': AuthErrorCode.CLIENT_NOT_FOUND,\n 'interaction_required': AuthErrorCode.INTERACTION_REQUIRED,\n 'login_required': AuthErrorCode.LOGIN_REQUIRED,\n 'consent_required': AuthErrorCode.CONSENT_REQUIRED,\n };\n return errorMap[error] || AuthErrorCode.INTERNAL_ERROR;\n }\n generateSecureRandomString(length = 32) {\n const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n let result = '';\n const randomValues = new Uint8Array(length);\n crypto.getRandomValues(randomValues);\n for (let i = 0; i < length; i++) {\n result += chars[randomValues[i] % chars.length];\n }\n return result;\n }\n}\n//# sourceMappingURL=oauth-provider.js.map","import { AuthProvider, AuthErrorCode, } from '../../definitions';\nimport { OAuthProvider } from '../oauth-provider';\nimport { AuthError } from '../../utils/auth-error';\nexport class GoogleAuthProviderWeb extends OAuthProvider {\n constructor(config) {\n super(config);\n this.initPromise = null;\n }\n getOAuthConfig() {\n const options = this.options;\n return {\n clientId: options.clientId,\n clientSecret: options.clientSecret,\n redirectUri: window.location.origin,\n authorizationEndpoint: 'https://accounts.google.com/o/oauth2/v2/auth',\n tokenEndpoint: 'https://oauth2.googleapis.com/token',\n revokeEndpoint: 'https://oauth2.googleapis.com/revoke',\n userInfoEndpoint: 'https://www.googleapis.com/oauth2/v3/userinfo',\n scopes: options.scopes || ['openid', 'email', 'profile'],\n responseType: 'code',\n additionalParams: {\n access_type: options.offlineAccess ? 'offline' : 'online',\n include_granted_scopes: options.includeGrantedScopes ? 'true' : 'false',\n },\n };\n }\n async initialize() {\n if (this.isInitialized) {\n return;\n }\n if (this.initPromise) {\n return this.initPromise;\n }\n this.initPromise = this._initialize();\n try {\n await this.initPromise;\n }\n finally {\n this.initPromise = null;\n }\n }\n async _initialize() {\n const options = this.options;\n try {\n // Load Google Identity Services library\n await this.loadGoogleIdentityServices();\n // Initialize Google client\n window.google.accounts.oauth2.initCodeClient({\n client_id: options.clientId,\n scope: (options.scopes || ['openid', 'email', 'profile']).join(' '),\n ux_mode: 'popup',\n callback: (_response) => {\n // This callback will be overridden per sign-in\n },\n });\n // Load previously authenticated user\n await this.loadCurrentUser();\n this.isInitialized = true;\n this.logger.info('Google Auth provider initialized');\n }\n catch (error) {\n this.logger.error('Failed to initialize Google Auth', error);\n throw AuthError.fromError(error, this.provider);\n }\n }\n async signIn(options) {\n this.validateInitialized();\n return new Promise((resolve, reject) => {\n var _a, _b, _c;\n try {\n const googleOptions = this.options;\n // Configure sign-in options\n const signInConfig = {\n client_id: googleOptions.clientId,\n scope: (((_a = options === null || options === void 0 ? void 0 : options.options) === null || _a === void 0 ? void 0 : _a.scopes) || googleOptions.scopes || ['openid', 'email', 'profile']).join(' '),\n callback: async (response) => {\n if (response.error) {\n reject(new AuthError(this.mapGoogleError(response.error), response.error_description || response.error, this.provider));\n return;\n }\n try {\n // Exchange authorization code for tokens\n const tokenResponse = await this.exchangeCodeForTokens(response.code, this.getOAuthConfig());\n // Get user info\n const userInfo = await this.getUserInfo(tokenResponse.access_token);\n // Create AuthUser and AuthCredential\n const user = this.createAuthUser(userInfo, tokenResponse);\n const credential = this.createOAuthCredential(tokenResponse);\n // Save user and credential\n await this.setCurrentUser(user);\n await this.saveCredential(credential);\n resolve(this.createAuthResult(user, credential, false));\n }\n catch (error) {\n reject(AuthError.fromError(error, this.provider));\n }\n },\n };\n // Add login hint if provided\n if (((_b = options === null || options === void 0 ? void 0 : options.options) === null || _b === void 0 ? void 0 : _b.loginHint) || googleOptions.loginHint) {\n signInConfig.login_hint = ((_c = options === null || options === void 0 ? void 0 : options.options) === null || _c === void 0 ? void 0 : _c.loginHint) || googleOptions.loginHint;\n }\n // Add hosted domain if provided\n if (googleOptions.hostedDomain) {\n signInConfig.hd = googleOptions.hostedDomain;\n }\n // Create new client with callback\n const client = window.google.accounts.oauth2.initCodeClient(signInConfig);\n // Request authorization code\n client.requestCode();\n }\n catch (error) {\n reject(AuthError.fromError(error, this.provider));\n }\n });\n }\n async signOut(options) {\n var _a, _b;\n this.validateInitialized();\n try {\n // Revoke token if requested\n if (options === null || options === void 0 ? void 0 : options.revokeToken) {\n const credential = await this.loadCredential();\n if (credential === null || credential === void 0 ? void 0 : credential.accessToken) {\n await this.revokeAccess(credential.accessToken);\n }\n }\n // Clear stored data\n await this.clearStoredData();\n await this.setCurrentUser(null);\n // Disconnect Google account if available\n if ((_b = (_a = window.google) === null || _a === void 0 ? void 0 : _a.accounts) === null || _b === void 0 ? void 0 : _b.id) {\n window.google.accounts.id.disableAutoSelect();\n }\n this.logger.info('Signed out from Google');\n }\n catch (error) {\n this.logger.error('Failed to sign out from Google', error);\n throw AuthError.fromError(error, this.provider);\n }\n }\n async isSupported() {\n // Check if we're in a browser environment\n if (typeof window === 'undefined' || typeof document === 'undefined') {\n return false;\n }\n // Check if we can load Google Identity Services\n try {\n await this.loadGoogleIdentityServices();\n return true;\n }\n catch (_a) {\n return false;\n }\n }\n async linkAccount(options) {\n // For web, linking is the same as signing in\n return this.signIn(options);\n }\n async unlinkAccount(_options) {\n // For web, unlinking is the same as signing out\n await this.signOut();\n }\n async openAuthorizationUrl(_url) {\n // This method is not used in Google Identity Services flow\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Direct OAuth flow not supported for Google. Use signIn method instead.', this.provider);\n }\n async parseUserFromTokenResponse(response) {\n // Get user info from the userinfo endpoint\n if (response.access_token) {\n return this.getUserInfo(response.access_token);\n }\n throw new AuthError(AuthErrorCode.INVALID_CREDENTIALS, 'No access token in response', this.provider);\n }\n async getUserInfo(accessToken) {\n try {\n const response = await fetch('https://www.googleapis.com/oauth2/v3/userinfo', {\n headers: {\n Authorization: `Bearer ${accessToken}`,\n },\n });\n if (!response.ok) {\n throw new AuthError(AuthErrorCode.NETWORK_ERROR, 'Failed to fetch user info', this.provider);\n }\n return await response.json();\n }\n catch (error) {\n if (error instanceof AuthError) {\n throw error;\n }\n throw new AuthError(AuthErrorCode.NETWORK_ERROR, 'Failed to fetch user info', this.provider, error);\n }\n }\n async loadGoogleIdentityServices() {\n var _a, _b;\n if ((_b = (_a = window.google) === null || _a === void 0 ? void 0 : _a.accounts) === null || _b === void 0 ? void 0 : _b.oauth2) {\n return;\n }\n return new Promise((resolve, reject) => {\n const script = document.createElement('script');\n script.src = 'https://accounts.google.com/gsi/client';\n script.async = true;\n script.defer = true;\n script.onload = () => {\n var _a, _b;\n if ((_b = (_a = window.google) === null || _a === void 0 ? void 0 : _a.accounts) === null || _b === void 0 ? void 0 : _b.oauth2) {\n resolve();\n }\n else {\n reject(new Error('Google Identity Services failed to load'));\n }\n };\n script.onerror = () => {\n reject(new Error('Failed to load Google Identity Services'));\n };\n document.head.appendChild(script);\n });\n }\n mapGoogleError(error) {\n const errorMap = {\n 'access_denied': AuthErrorCode.ACCESS_DENIED,\n 'unauthorized_client': AuthErrorCode.APP_NOT_AUTHORIZED,\n 'invalid_request': AuthErrorCode.INVALID_REQUEST,\n 'invalid_scope': AuthErrorCode.INVALID_SCOPE,\n 'server_error': AuthErrorCode.SERVER_ERROR,\n 'temporarily_unavailable': AuthErrorCode.TEMPORARILY_UNAVAILABLE,\n 'popup_closed_by_user': AuthErrorCode.POPUP_CLOSED_BY_USER,\n 'popup_blocked': AuthErrorCode.POPUP_BLOCKED,\n };\n return errorMap[error] || AuthErrorCode.INTERNAL_ERROR;\n }\n createAuthUser(userInfo, tokenResponse) {\n return {\n uid: userInfo.sub,\n email: userInfo.email,\n emailVerified: userInfo.email_verified || false,\n displayName: userInfo.name,\n photoURL: userInfo.picture,\n phoneNumber: null,\n isAnonymous: false,\n tenantId: null,\n providerData: [{\n providerId: AuthProvider.GOOGLE,\n uid: userInfo.sub,\n displayName: userInfo.name,\n email: userInfo.email,\n phoneNumber: null,\n photoURL: userInfo.picture,\n }],\n metadata: {\n creationTime: new Date().toISOString(),\n lastSignInTime: new Date().toISOString(),\n },\n refreshToken: tokenResponse.refresh_token,\n };\n }\n}\n//# sourceMappingURL=google-provider.js.map","import { AuthProvider, AppleAuthScope, AuthErrorCode, } from '../../definitions';\nimport { OAuthProvider } from '../oauth-provider';\nimport { AuthError } from '../../utils/auth-error';\nexport class AppleAuthProviderWeb extends OAuthProvider {\n constructor(config) {\n super(config);\n this.initPromise = null;\n }\n getOAuthConfig() {\n const options = this.options;\n return {\n clientId: options.clientId,\n redirectUri: options.redirectUri,\n authorizationEndpoint: 'https://appleid.apple.com/auth/authorize',\n tokenEndpoint: 'https://appleid.apple.com/auth/token',\n scopes: this.mapAppleScopes(options.scopes),\n responseType: options.responseType || 'code id_token',\n additionalParams: {\n response_mode: options.responseMode || 'form_post',\n },\n };\n }\n async initialize() {\n if (this.isInitialized) {\n return;\n }\n if (this.initPromise) {\n return this.initPromise;\n }\n this.initPromise = this._initialize();\n try {\n await this.initPromise;\n }\n finally {\n this.initPromise = null;\n }\n }\n async _initialize() {\n const options = this.options;\n try {\n // Load Apple JS SDK\n await this.loadAppleSDK();\n // Initialize Apple ID auth\n window.AppleID.auth.init({\n clientId: options.clientId,\n scope: this.mapAppleScopes(options.scopes).join(' '),\n redirectURI: options.redirectUri,\n state: options.state,\n nonce: options.nonce,\n usePopup: options.usePopup !== false, // Default to true\n });\n // Load previously authenticated user\n await this.loadCurrentUser();\n this.isInitialized = true;\n this.logger.info('Apple Auth provider initialized');\n }\n catch (error) {\n this.logger.error('Failed to initialize Apple Auth', error);\n throw AuthError.fromError(error, this.provider);\n }\n }\n async signIn(options) {\n var _a, _b, _c;\n this.validateInitialized();\n try {\n const appleOptions = this.options;\n // Generate state and nonce for security\n const state = ((_a = options === null || options === void 0 ? void 0 : options.options) === null || _a === void 0 ? void 0 : _a.state) || this.generateSecureRandomString();\n const nonce = ((_b = options === null || options === void 0 ? void 0 : options.options) === null || _b === void 0 ? void 0 : _b.nonce) || this.generateSecureRandomString();\n // Store state and nonce for validation\n await this.storage.set(`${this.provider}_oauth_state`, state);\n await this.storage.set(`${this.provider}_oauth_nonce`, nonce);\n // Configure sign-in options\n const signInConfig = {\n clientId: appleOptions.clientId,\n scope: this.mapAppleScopes(((_c = options === null || options === void 0 ? void 0 : options.options) === null || _c === void 0 ? void 0 : _c.scopes) || appleOptions.scopes).join(' '),\n redirectURI: appleOptions.redirectUri,\n state,\n nonce,\n usePopup: appleOptions.usePopup !== false,\n };\n // Perform sign in\n const response = await window.AppleID.auth.signIn(signInConfig);\n // Validate response\n await this.validateAppleResponse(response, state, nonce);\n // Parse user information from response\n const user = this.createAppleAuthUser(response);\n const credential = this.createAppleCredential(response);\n // Save user and credential\n await this.setCurrentUser(user);\n await this.saveCredential(credential);\n return this.createAuthResult(user, credential, response.user ? true : false);\n }\n catch (error) {\n this.logger.error('Apple sign in failed', error);\n if (error && typeof error === 'object' && 'error' in error) {\n throw new AuthError(this.mapAppleError(error.error), error.error, this.provider);\n }\n throw AuthError.fromError(error, this.provider);\n }\n finally {\n // Clean up temporary storage\n await this.storage.remove(`${this.provider}_oauth_state`);\n await this.storage.remove(`${this.provider}_oauth_nonce`);\n }\n }\n async signOut(_options) {\n this.validateInitialized();\n try {\n // Apple doesn't provide a sign-out method in their JS SDK\n // Just clear local data\n await this.clearStoredData();\n await this.setCurrentUser(null);\n this.logger.info('Signed out from Apple');\n }\n catch (error) {\n this.logger.error('Failed to sign out from Apple', error);\n throw AuthError.fromError(error, this.provider);\n }\n }\n async isSupported() {\n // Check if we're in a browser environment\n if (typeof window === 'undefined' || typeof document === 'undefined') {\n return false;\n }\n // Check if we're on HTTPS (required for Apple Sign In)\n if (window.location.protocol !== 'https:' && window.location.hostname !== 'localhost') {\n return false;\n }\n return true;\n }\n async linkAccount(options) {\n // For web, linking is the same as signing in\n return this.signIn(options);\n }\n async unlinkAccount(_options) {\n // For web, unlinking is the same as signing out\n await this.signOut();\n }\n async openAuthorizationUrl(_url) {\n // This method is not used in Apple JS SDK flow\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Direct OAuth flow not supported for Apple. Use signIn method instead.', this.provider);\n }\n async parseUserFromTokenResponse(response) {\n // Apple provides user info directly in the authorization response\n return response.user || {};\n }\n async loadAppleSDK() {\n var _a;\n if ((_a = window.AppleID) === null || _a === void 0 ? void 0 : _a.auth) {\n return;\n }\n return new Promise((resolve, reject) => {\n const script = document.createElement('script');\n script.src = 'https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js';\n script.async = true;\n script.defer = true;\n script.onload = () => {\n var _a;\n if ((_a = window.AppleID) === null || _a === void 0 ? void 0 : _a.auth) {\n resolve();\n }\n else {\n reject(new Error('Apple ID SDK failed to load'));\n }\n };\n script.onerror = () => {\n reject(new Error('Failed to load Apple ID SDK'));\n };\n document.head.appendChild(script);\n });\n }\n mapAppleScopes(scopes) {\n if (!scopes || scopes.length === 0) {\n return [];\n }\n return scopes.map(scope => {\n switch (scope) {\n case AppleAuthScope.EMAIL:\n return 'email';\n case AppleAuthScope.NAME:\n return 'name';\n default:\n return scope;\n }\n });\n }\n async validateAppleResponse(response, expectedState, _expectedNonce) {\n if (response.error) {\n throw new AuthError(this.mapAppleError(response.error), response.error, this.provider);\n }\n if (response.state !== expectedState) {\n throw new AuthError(AuthErrorCode.INVALID_STATE, 'OAuth state mismatch', this.provider);\n }\n // ID token validation with nonce would be done here\n // For production, you should validate the ID token on your backend\n }\n createAppleAuthUser(response) {\n var _a, _b, _c, _d;\n const user = response.user || {};\n const idToken = (_a = response.authorization) === null || _a === void 0 ? void 0 : _a.id_token;\n // Parse ID token claims (in production, do this on backend)\n let claims = {};\n if (idToken) {\n try {\n const payload = idToken.split('.')[1];\n claims = JSON.parse(atob(payload));\n }\n catch (error) {\n this.logger.error('Failed to parse ID token', error);\n }\n }\n return {\n uid: claims.sub || ((_b = response.authorization) === null || _b === void 0 ? void 0 : _b.code) || this.generateUniqueId(),\n email: user.email || claims.email || null,\n emailVerified: claims.email_verified || false,\n displayName: user.name ? `${user.name.firstName || ''} ${user.name.lastName || ''}`.trim() : null,\n photoURL: null, // Apple doesn't provide profile photos\n phoneNumber: null,\n isAnonymous: false,\n tenantId: null,\n providerData: [{\n providerId: AuthProvider.APPLE,\n uid: claims.sub || ((_c = response.authorization) === null || _c === void 0 ? void 0 : _c.code),\n displayName: user.name ? `${user.name.firstName || ''} ${user.name.lastName || ''}`.trim() : null,\n email: user.email || claims.email || null,\n phoneNumber: null,\n photoURL: null,\n }],\n metadata: {\n creationTime: new Date().toISOString(),\n lastSignInTime: new Date().toISOString(),\n },\n refreshToken: (_d = response.authorization) === null || _d === void 0 ? void 0 : _d.refresh_token,\n };\n }\n createAppleCredential(response) {\n var _a, _b, _c, _d, _e;\n return {\n providerId: AuthProvider.APPLE,\n signInMethod: 'oauth',\n accessToken: (_a = response.authorization) === null || _a === void 0 ? void 0 : _a.access_token,\n idToken: (_b = response.authorization) === null || _b === void 0 ? void 0 : _b.id_token,\n refreshToken: (_c = response.authorization) === null || _c === void 0 ? void 0 : _c.refresh_token,\n expiresAt: ((_d = response.authorization) === null || _d === void 0 ? void 0 : _d.expires_in)\n ? this.calculateTokenExpiry(response.authorization.expires_in)\n : undefined,\n tokenType: 'Bearer',\n scope: (_e = response.authorization) === null || _e === void 0 ? void 0 : _e.scope,\n rawNonce: response.nonce,\n };\n }\n mapAppleError(error) {\n const errorMap = {\n 'user_cancelled_authorize': AuthErrorCode.USER_CANCELLED,\n 'popup_closed_by_user': AuthErrorCode.POPUP_CLOSED_BY_USER,\n 'popup_blocked': AuthErrorCode.POPUP_BLOCKED,\n 'invalid_request': AuthErrorCode.INVALID_REQUEST,\n 'invalid_client': AuthErrorCode.CLIENT_NOT_FOUND,\n 'invalid_scope': AuthErrorCode.INVALID_SCOPE,\n 'unauthorized_client': AuthErrorCode.APP_NOT_AUTHORIZED,\n 'access_denied': AuthErrorCode.ACCESS_DENIED,\n 'unsupported_response_type': AuthErrorCode.UNSUPPORTED_GRANT_TYPE,\n 'server_error': AuthErrorCode.SERVER_ERROR,\n 'temporarily_unavailable': AuthErrorCode.TEMPORARILY_UNAVAILABLE,\n };\n return errorMap[error] || AuthErrorCode.INTERNAL_ERROR;\n }\n}\n//# sourceMappingURL=apple-provider.js.map","import { AuthProvider } from '../definitions';\nimport { GoogleAuthProviderWeb } from './web/google-provider';\nimport { AppleAuthProviderWeb } from './web/apple-provider';\nexport class ProviderFactory {\n static async createProvider(config, storage, logger, persistence) {\n const providerConfig = {\n provider: config.provider,\n options: config.options,\n storage,\n logger,\n persistence,\n };\n switch (config.provider) {\n case AuthProvider.GOOGLE:\n return new GoogleAuthProviderWeb(providerConfig);\n case AuthProvider.APPLE:\n return new AppleAuthProviderWeb(providerConfig);\n case AuthProvider.MICROSOFT:\n // TODO: Implement Microsoft provider\n logger.warn('Microsoft provider not yet implemented');\n return null;\n case AuthProvider.FACEBOOK:\n // TODO: Implement Facebook provider\n logger.warn('Facebook provider not yet implemented');\n return null;\n case AuthProvider.GITHUB:\n // TODO: Implement GitHub provider\n logger.warn('GitHub provider not yet implemented');\n return null;\n case AuthProvider.SLACK:\n // TODO: Implement Slack provider\n logger.warn('Slack provider not yet implemented');\n return null;\n case AuthProvider.LINKEDIN:\n // TODO: Implement LinkedIn provider\n logger.warn('LinkedIn provider not yet implemented');\n return null;\n case AuthProvider.FIREBASE:\n // TODO: Implement Firebase provider\n logger.warn('Firebase provider not yet implemented');\n return null;\n case AuthProvider.EMAIL_MAGIC_LINK:\n // TODO: Implement Email Magic Link provider\n logger.warn('Email Magic Link provider not yet implemented');\n return null;\n case AuthProvider.SMS:\n // TODO: Implement SMS provider\n logger.warn('SMS provider not yet implemented');\n return null;\n case AuthProvider.EMAIL_PASSWORD:\n // TODO: Implement Email/Password provider\n logger.warn('Email/Password provider not yet implemented');\n return null;\n case AuthProvider.PHONE_PASSWORD:\n // TODO: Implement Phone/Password provider\n logger.warn('Phone/Password provider not yet implemented');\n return null;\n case AuthProvider.USERNAME_PASSWORD:\n // TODO: Implement Username/Password provider\n logger.warn('Username/Password provider not yet implemented');\n return null;\n case AuthProvider.EMAIL_CODE:\n // TODO: Implement Email Code provider\n logger.warn('Email Code provider not yet implemented');\n return null;\n case AuthProvider.BIOMETRIC:\n // TODO: Implement Biometric provider\n logger.warn('Biometric provider not yet implemented');\n return null;\n default:\n logger.error(`Unknown provider: ${config.provider}`);\n return null;\n }\n }\n}\n//# sourceMappingURL=provider-factory.js.map","import { WebPlugin } from '@capacitor/core';\nimport { AuthErrorCode, AuthPersistence } from './definitions';\nimport { AuthError } from './utils/auth-error';\nimport { EventEmitter } from './utils/event-emitter';\nimport { WebStorage } from './utils/storage';\nimport { Logger } from './utils/logger';\nimport { ProviderFactory } from './providers/provider-factory';\nexport class CapacitorAuthManagerWeb extends WebPlugin {\n constructor() {\n super();\n this.providers = new Map();\n this.isInitialized = false;\n this.currentProvider = null;\n this.tokenRefreshTimers = new Map();\n this.autoRefreshToken = true;\n this.tokenRefreshBuffer = 300000; // 5 minutes before expiry\n this.authStateEmitter = new EventEmitter();\n this.storage = new WebStorage(AuthPersistence.LOCAL);\n this.logger = new Logger({\n enableLogging: false,\n logLevel: 'info',\n prefix: 'CapAuthManager',\n });\n }\n async initialize(options) {\n var _a, _b;\n if (this.isInitialized) {\n this.logger.warn('Auth manager already initialized');\n return;\n }\n try {\n // Configure logger\n if (options.enableLogging !== undefined) {\n this.logger.setEnabled(options.enableLogging);\n }\n if (options.logLevel) {\n this.logger.setLogLevel(options.logLevel);\n }\n // Configure persistence\n if (options.persistence) {\n this.storage = new WebStorage(options.persistence);\n }\n // Configure auto refresh\n this.autoRefreshToken = (_a = options.autoRefreshToken) !== null && _a !== void 0 ? _a : true;\n this.tokenRefreshBuffer = (_b = options.tokenRefreshBuffer) !== null && _b !== void 0 ? _b : 300000;\n // Initialize providers\n for (const providerConfig of options.providers) {\n await this.initializeProvider(providerConfig);\n }\n // Load last used provider\n const lastProvider = await this.storage.get('last_auth_provider');\n if (lastProvider) {\n this.currentProvider = lastProvider;\n }\n this.isInitialized = true;\n this.logger.info('Auth manager initialized successfully');\n }\n catch (error) {\n this.logger.error('Failed to initialize auth manager', error);\n throw AuthError.fromError(error);\n }\n }\n async signIn(options) {\n this.validateInitialized();\n const provider = this.getProvider(options.provider);\n try {\n this.logger.info(`Signing in with ${options.provider}`);\n const result = await provider.signIn(options);\n // Set as current provider\n this.currentProvider = options.provider;\n await this.storage.set('last_auth_provider', options.provider);\n // Setup token refresh if needed\n if (this.autoRefreshToken && result.credential.refreshToken) {\n this.setupTokenRefresh(options.provider, result.credential);\n }\n // Forward auth state change\n this.authStateEmitter.emit(result.user);\n return result;\n }\n catch (error) {\n this.logger.error(`Sign in failed for ${options.provider}`, error);\n throw AuthError.fromError(error, options.provider);\n }\n }\n async signOut(options) {\n this.validateInitialized();\n try {\n if (options === null || options === void 0 ? void 0 : options.provider) {\n // Sign out from specific provider\n const provider = this.getProvider(options.provider);\n await provider.signOut(options);\n // Cancel token refresh\n this.cancelTokenRefresh(options.provider);\n }\n else if (this.currentProvider) {\n // Sign out from current provider\n const provider = this.getProvider(this.currentProvider);\n await provider.signOut(options);\n // Cancel token refresh\n this.cancelTokenRefresh(this.currentProvider);\n // Clear current provider\n this.currentProvider = null;\n await this.storage.remove('last_auth_provider');\n }\n else {\n // Sign out from all providers\n for (const [providerId, provider] of this.providers) {\n try {\n await provider.signOut(options);\n this.cancelTokenRefresh(providerId);\n }\n catch (error) {\n this.logger.error(`Failed to sign out from ${providerId}`, error);\n }\n }\n this.currentProvider = null;\n await this.storage.remove('last_auth_provider');\n }\n // Emit null user\n this.authStateEmitter.emit(null);\n }\n catch (error) {\n this.logger.error('Sign out failed', error);\n throw AuthError.fromError(error);\n }\n }\n async getCurrentUser() {\n this.validateInitialized();\n if (this.currentProvider) {\n const provider = this.getProvider(this.currentProvider);\n return provider.getCurrentUser();\n }\n // Try to get user from any provider\n for (const provider of this.providers.values()) {\n const user = await provider.getCurrentUser();\n if (user) {\n return user;\n }\n }\n return null;\n }\n async refreshToken(options) {\n this.validateInitialized();\n const providerId = (options === null || options === void 0 ? void 0 : options.provider) || this.currentProvider;\n if (!providerId) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No provider specified for token refresh');\n }\n const provider = this.getProvider(providerId);\n try {\n const result = await provider.refreshToken(options);\n // Setup new token refresh\n if (this.autoRefreshToken && result.credential.refreshToken) {\n this.setupTokenRefresh(providerId, result.credential);\n }\n return result;\n }\n catch (error) {\n this.logger.error(`Token refresh failed for ${providerId}`, error);\n throw AuthError.fromError(error, providerId);\n }\n }\n async addAuthStateListener(callback) {\n const unsubscribe = this.authStateEmitter.subscribe(callback);\n // Create a Capacitor-compatible listener handle\n const handle = {\n remove: async () => {\n unsubscribe();\n }\n };\n // Emit current user state\n const currentUser = await this.getCurrentUser();\n callback(currentUser);\n return handle;\n }\n async removeAllListeners() {\n this.authStateEmitter.clear();\n // Also clear provider listeners\n for (const provider of this.providers.values()) {\n provider.dispose();\n }\n }\n async isSupported(options) {\n try {\n if (!this.providers.has(options.provider)) {\n return {\n isSupported: false,\n reason: 'Provider not configured',\n availableProviders: Array.from(this.providers.keys()),\n };\n }\n const provider = this.getProvider(options.provider);\n const isSupported = await provider.isSupported();\n return {\n isSupported,\n reason: isSupported ? undefined : 'Provider not supported on this platform',\n availableProviders: Array.from(this.providers.keys()),\n };\n }\n catch (error) {\n return {\n isSupported: false,\n reason: error instanceof Error ? error.message : 'Unknown error',\n availableProviders: Array.from(this.providers.keys()),\n };\n }\n }\n async configure(options) {\n this.validateInitialized();\n const providerConfig = {\n provider: options.provider,\n options: options.options,\n };\n await this.initializeProvider(providerConfig);\n }\n async linkAccount(options) {\n this.validateInitialized();\n const provider = this.getProvider(options.provider);\n try {\n return await provider.linkAccount(options);\n }\n catch (error) {\n this.logger.error(`Account linking failed for ${options.provider}`, error);\n throw AuthError.fromError(error, options.provider);\n }\n }\n async unlinkAccount(options) {\n this.validateInitialized();\n const provider = this.getProvider(options.provider);\n try {\n await provider.unlinkAccount(options);\n }\n catch (error) {\n this.logger.error(`Account unlinking failed for ${options.provider}`, error);\n throw AuthError.fromError(error, options.provider);\n }\n }\n async sendPasswordResetEmail(_options) {\n this.validateInitialized();\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Password reset not implemented for current provider');\n }\n async sendEmailVerification(_options) {\n this.validateInitialized();\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Email verification not implemented for current provider');\n }\n async sendSmsCode(_options) {\n this.validateInitialized();\n // This would typically be implemented by SMS provider\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'SMS authentication not implemented');\n }\n async verifySmsCode(_options) {\n this.validateInitialized();\n // This would typically be implemented by SMS provider\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'SMS authentication not implemented');\n }\n async sendEmailCode(_options) {\n this.validateInitialized();\n // This would typically be implemented by email code provider\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Email code authentication not implemented');\n }\n async verifyEmailCode(_options) {\n this.validateInitialized();\n // This would typically be implemented by email code provider\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Email code authentication not implemented');\n }\n async updateProfile(_options) {\n this.validateInitialized();\n if (!this.currentProvider) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No authenticated user found');\n }\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Profile update not implemented for current provider');\n }\n async deleteAccount(_options) {\n this.validateInitialized();\n if (!this.currentProvider) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No authenticated user found');\n }\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Account deletion not implemented for current provider');\n }\n async getIdToken(options) {\n this.validateInitialized();\n const providerId = (options === null || options === void 0 ? void 0 : options.provider) || this.currentProvider;\n if (!providerId) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No provider specified for ID token');\n }\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'ID token retrieval not implemented for current provider');\n }\n async setCustomParameters(options) {\n this.validateInitialized();\n // Store custom parameters for the provider\n await this.storage.set(`${options.provider}_custom_params`, JSON.stringify(options.parameters));\n }\n async revokeAccess(options) {\n this.validateInitialized();\n const providerId = (options === null || options === void 0 ? void 0 : options.provider) || this.currentProvider;\n if (!providerId) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No provider specified for access revocation');\n }\n const provider = this.getProvider(providerId);\n try {\n await provider.revokeAccess(options === null || options === void 0 ? void 0 : options.token);\n }\n catch (error) {\n this.logger.error(`Access revocation failed for ${providerId}`, error);\n throw AuthError.fromError(error, providerId);\n }\n }\n validateInitialized() {\n if (!this.isInitialized) {\n throw new AuthError(AuthErrorCode.INTERNAL_ERROR, 'Auth manager not initialized. Call initialize() first.');\n }\n }\n getProvider(providerId) {\n const provider = this.providers.get(providerId);\n if (!provider) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, `Provider ${providerId} not configured`);\n }\n return provider;\n }\n async initializeProvider(config) {\n try {\n // Dynamically import provider implementation\n const provider = await this.createProvider(config);\n if (provider) {\n await provider.initialize();\n // Forward auth state changes\n provider.addAuthStateListener((user) => {\n if (user) {\n this.authStateEmitter.emit(user);\n }\n });\n this.providers.set(config.provider, provider);\n this.logger.info(`Provider ${config.provider} initialized`);\n }\n }\n catch (error) {\n this.logger.error(`Failed to initialize provider ${config.provider}`, error);\n throw error;\n }\n }\n async createProvider(config) {\n return ProviderFactory.createProvider(config, this.storage, this.logger, this.storage instanceof WebStorage ? AuthPersistence.LOCAL : AuthPersistence.NONE);\n }\n setupTokenRefresh(provider, credential) {\n // Cancel existing refresh timer\n this.cancelTokenRefresh(provider);\n if (!credential.expiresAt || !credential.refreshToken) {\n return;\n }\n const refreshTime = credential.expiresAt - this.tokenRefreshBuffer - Date.now();\n if (refreshTime > 0) {\n const timer = setTimeout(async () => {\n try {\n await this.refreshToken({ provider });\n }\n catch (error) {\n this.logger.error(`Auto token refresh failed for ${provider}`, error);\n }\n }, refreshTime);\n this.tokenRefreshTimers.set(provider, timer);\n }\n }\n cancelTokenRefresh(provider) {\n const timer = this.tokenRefreshTimers.get(provider);\n if (timer) {\n clearTimeout(timer);\n this.tokenRefreshTimers.delete(provider);\n }\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["AuthProvider","AppleAuthScope","BiometricType","AuthPersistence","AuthErrorCode","registerPlugin","WebPlugin"],"mappings":";;;AAAWA;IACX,CAAC,UAAU,YAAY,EAAE;IACzB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,QAAQ;IACrC,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;IACnC,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;IAC3C,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,QAAQ;IACrC,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;IACnC,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC,IAAI,YAAY,CAAC,kBAAkB,CAAC,GAAG,kBAAkB;IACzD,IAAI,YAAY,CAAC,KAAK,CAAC,GAAG,KAAK;IAC/B,IAAI,YAAY,CAAC,gBAAgB,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AY,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC;IACxD,QAAQ;IACR,IAAI;IACJ,IAAI,kBAAkB,CAAC,QAAQ,EAAE;IACjC,QAAQ,MAAM,KAAK,GAAG,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC3D,QAAQ,IAAI,KAAK,EAAE;IACnB,YAAY,YAAY,CAAC,KAAK,CAAC;IAC/B,YAAY,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC;IACpD,QAAQ;IACR,IAAI;IACJ;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.js","sources":["esm/definitions.js","esm/utils/auth-error.js","esm/index.js","esm/utils/event-emitter.js","esm/utils/storage.js","esm/utils/logger.js","esm/providers/base-provider.js","esm/providers/oauth-provider.js","esm/providers/web/google-provider.js","esm/providers/web/apple-provider.js","esm/providers/provider-factory.js","esm/web.js"],"sourcesContent":["export var AuthProvider;\n(function (AuthProvider) {\n AuthProvider[\"GOOGLE\"] = \"google\";\n AuthProvider[\"APPLE\"] = \"apple\";\n AuthProvider[\"MICROSOFT\"] = \"microsoft\";\n AuthProvider[\"FACEBOOK\"] = \"facebook\";\n AuthProvider[\"GITHUB\"] = \"github\";\n AuthProvider[\"SLACK\"] = \"slack\";\n AuthProvider[\"LINKEDIN\"] = \"linkedin\";\n AuthProvider[\"FIREBASE\"] = \"firebase\";\n AuthProvider[\"EMAIL_MAGIC_LINK\"] = \"email_magic_link\";\n AuthProvider[\"SMS\"] = \"sms\";\n AuthProvider[\"EMAIL_PASSWORD\"] = \"email_password\";\n AuthProvider[\"PHONE_PASSWORD\"] = \"phone_password\";\n AuthProvider[\"USERNAME_PASSWORD\"] = \"username_password\";\n AuthProvider[\"EMAIL_CODE\"] = \"email_code\";\n AuthProvider[\"BIOMETRIC\"] = \"biometric\";\n})(AuthProvider || (AuthProvider = {}));\nexport var AppleAuthScope;\n(function (AppleAuthScope) {\n AppleAuthScope[\"EMAIL\"] = \"email\";\n AppleAuthScope[\"NAME\"] = \"name\";\n})(AppleAuthScope || (AppleAuthScope = {}));\nexport var BiometricType;\n(function (BiometricType) {\n BiometricType[\"FINGERPRINT\"] = \"fingerprint\";\n BiometricType[\"FACE_ID\"] = \"faceId\";\n BiometricType[\"TOUCH_ID\"] = \"touchId\";\n BiometricType[\"IRIS\"] = \"iris\";\n BiometricType[\"VOICE\"] = \"voice\";\n})(BiometricType || (BiometricType = {}));\nexport var AuthPersistence;\n(function (AuthPersistence) {\n AuthPersistence[\"LOCAL\"] = \"local\";\n AuthPersistence[\"SESSION\"] = \"session\";\n AuthPersistence[\"NONE\"] = \"none\";\n})(AuthPersistence || (AuthPersistence = {}));\nexport var AuthErrorCode;\n(function (AuthErrorCode) {\n AuthErrorCode[\"INVALID_CREDENTIALS\"] = \"auth/invalid-credentials\";\n AuthErrorCode[\"USER_NOT_FOUND\"] = \"auth/user-not-found\";\n AuthErrorCode[\"WRONG_PASSWORD\"] = \"auth/wrong-password\";\n AuthErrorCode[\"EMAIL_ALREADY_IN_USE\"] = \"auth/email-already-in-use\";\n AuthErrorCode[\"WEAK_PASSWORD\"] = \"auth/weak-password\";\n AuthErrorCode[\"NETWORK_ERROR\"] = \"auth/network-error\";\n AuthErrorCode[\"TOO_MANY_REQUESTS\"] = \"auth/too-many-requests\";\n AuthErrorCode[\"USER_DISABLED\"] = \"auth/user-disabled\";\n AuthErrorCode[\"OPERATION_NOT_ALLOWED\"] = \"auth/operation-not-allowed\";\n AuthErrorCode[\"INVALID_EMAIL\"] = \"auth/invalid-email\";\n AuthErrorCode[\"INVALID_PHONE_NUMBER\"] = \"auth/invalid-phone-number\";\n AuthErrorCode[\"INVALID_VERIFICATION_CODE\"] = \"auth/invalid-verification-code\";\n AuthErrorCode[\"EXPIRED_ACTION_CODE\"] = \"auth/expired-action-code\";\n AuthErrorCode[\"CREDENTIAL_ALREADY_IN_USE\"] = \"auth/credential-already-in-use\";\n AuthErrorCode[\"ACCOUNT_EXISTS_WITH_DIFFERENT_CREDENTIAL\"] = \"auth/account-exists-with-different-credential\";\n AuthErrorCode[\"REQUIRES_RECENT_LOGIN\"] = \"auth/requires-recent-login\";\n AuthErrorCode[\"PROVIDER_ALREADY_LINKED\"] = \"auth/provider-already-linked\";\n AuthErrorCode[\"NO_SUCH_PROVIDER\"] = \"auth/no-such-provider\";\n AuthErrorCode[\"INVALID_USER_TOKEN\"] = \"auth/invalid-user-token\";\n AuthErrorCode[\"TOKEN_EXPIRED\"] = \"auth/token-expired\";\n AuthErrorCode[\"USER_TOKEN_EXPIRED\"] = \"auth/user-token-expired\";\n AuthErrorCode[\"INVALID_API_KEY\"] = \"auth/invalid-api-key\";\n AuthErrorCode[\"USER_CANCELLED\"] = \"auth/user-cancelled\";\n AuthErrorCode[\"APP_NOT_AUTHORIZED\"] = \"auth/app-not-authorized\";\n AuthErrorCode[\"KEYCHAIN_ERROR\"] = \"auth/keychain-error\";\n AuthErrorCode[\"INTERNAL_ERROR\"] = \"auth/internal-error\";\n AuthErrorCode[\"BIOMETRIC_NOT_AVAILABLE\"] = \"auth/biometric-not-available\";\n AuthErrorCode[\"BIOMETRIC_NOT_ENROLLED\"] = \"auth/biometric-not-enrolled\";\n AuthErrorCode[\"BIOMETRIC_AUTHENTICATION_FAILED\"] = \"auth/biometric-authentication-failed\";\n AuthErrorCode[\"UNSUPPORTED_PROVIDER\"] = \"auth/unsupported-provider\";\n AuthErrorCode[\"MISSING_CONFIGURATION\"] = \"auth/missing-configuration\";\n AuthErrorCode[\"POPUP_BLOCKED\"] = \"auth/popup-blocked\";\n AuthErrorCode[\"POPUP_CLOSED_BY_USER\"] = \"auth/popup-closed-by-user\";\n AuthErrorCode[\"REDIRECT_CANCELLED_BY_USER\"] = \"auth/redirect-cancelled-by-user\";\n AuthErrorCode[\"MISSING_REDIRECT_URL\"] = \"auth/missing-redirect-url\";\n AuthErrorCode[\"INVALID_STATE\"] = \"auth/invalid-state\";\n AuthErrorCode[\"MISSING_CODE_VERIFIER\"] = \"auth/missing-code-verifier\";\n AuthErrorCode[\"INVALID_CODE_VERIFIER\"] = \"auth/invalid-code-verifier\";\n AuthErrorCode[\"MISSING_NONCE\"] = \"auth/missing-nonce\";\n AuthErrorCode[\"INVALID_NONCE\"] = \"auth/invalid-nonce\";\n AuthErrorCode[\"UNAUTHORIZED_DOMAIN\"] = \"auth/unauthorized-domain\";\n AuthErrorCode[\"INVALID_CONTINUE_URL\"] = \"auth/invalid-continue-url\";\n AuthErrorCode[\"MISSING_CONTINUE_URL\"] = \"auth/missing-continue-url\";\n AuthErrorCode[\"INVALID_DYNAMIC_LINK_DOMAIN\"] = \"auth/invalid-dynamic-link-domain\";\n AuthErrorCode[\"REJECTED_CREDENTIAL\"] = \"auth/rejected-credential\";\n AuthErrorCode[\"PHONE_NUMBER_ALREADY_EXISTS\"] = \"auth/phone-number-already-exists\";\n AuthErrorCode[\"QUOTA_EXCEEDED\"] = \"auth/quota-exceeded\";\n AuthErrorCode[\"CAPTCHA_CHECK_FAILED\"] = \"auth/captcha-check-failed\";\n AuthErrorCode[\"MISSING_CAPTCHA_TOKEN\"] = \"auth/missing-captcha-token\";\n AuthErrorCode[\"INVALID_CAPTCHA_TOKEN\"] = \"auth/invalid-captcha-token\";\n AuthErrorCode[\"MISSING_CLIENT_IDENTIFIER\"] = \"auth/missing-client-identifier\";\n AuthErrorCode[\"MISSING_OR_INVALID_NONCE\"] = \"auth/missing-or-invalid-nonce\";\n AuthErrorCode[\"INTERACTION_REQUIRED\"] = \"auth/interaction-required\";\n AuthErrorCode[\"LOGIN_REQUIRED\"] = \"auth/login-required\";\n AuthErrorCode[\"CONSENT_REQUIRED\"] = \"auth/consent-required\";\n AuthErrorCode[\"INVALID_GRANT\"] = \"auth/invalid-grant\";\n AuthErrorCode[\"UNSUPPORTED_GRANT_TYPE\"] = \"auth/unsupported-grant-type\";\n AuthErrorCode[\"INVALID_SCOPE\"] = \"auth/invalid-scope\";\n AuthErrorCode[\"INVALID_REQUEST\"] = \"auth/invalid-request\";\n AuthErrorCode[\"CLIENT_NOT_FOUND\"] = \"auth/client-not-found\";\n AuthErrorCode[\"ACCESS_DENIED\"] = \"auth/access-denied\";\n AuthErrorCode[\"SERVER_ERROR\"] = \"auth/server-error\";\n AuthErrorCode[\"TEMPORARILY_UNAVAILABLE\"] = \"auth/temporarily-unavailable\";\n})(AuthErrorCode || (AuthErrorCode = {}));\n//# sourceMappingURL=definitions.js.map","import { AuthErrorCode } from '../definitions';\nexport class AuthError extends Error {\n constructor(code, message, provider, details) {\n super(message);\n this.name = 'AuthError';\n this.code = code;\n this.provider = provider;\n this.details = details;\n // Maintains proper stack trace for where our error was thrown (only available on V8)\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, AuthError);\n }\n }\n static fromError(error, provider) {\n if (error instanceof AuthError) {\n return error;\n }\n let code = AuthErrorCode.INTERNAL_ERROR;\n let message = 'An unknown error occurred';\n let details = error;\n if (error instanceof Error) {\n message = error.message;\n // Try to map common error patterns to specific error codes\n if (error.message.includes('network')) {\n code = AuthErrorCode.NETWORK_ERROR;\n }\n else if (error.message.includes('cancelled') || error.message.includes('canceled')) {\n code = AuthErrorCode.USER_CANCELLED;\n }\n else if (error.message.includes('timeout')) {\n code = AuthErrorCode.NETWORK_ERROR;\n }\n }\n // Handle provider-specific error codes\n const errorObj = error;\n if (errorObj === null || errorObj === void 0 ? void 0 : errorObj.code) {\n // Check if the code is a valid AuthErrorCode\n if (Object.values(AuthErrorCode).includes(errorObj.code)) {\n code = errorObj.code;\n }\n }\n return new AuthError(code, message, provider, details);\n }\n toJSON() {\n return {\n name: this.name,\n code: this.code,\n message: this.message,\n provider: this.provider,\n details: this.details,\n };\n }\n}\nexport function isAuthError(error) {\n return error instanceof AuthError ||\n (typeof error === 'object' && error !== null &&\n error.name === 'AuthError' &&\n error.code !== undefined);\n}\n//# sourceMappingURL=auth-error.js.map","import { registerPlugin } from '@capacitor/core';\nconst CapacitorAuthManager = registerPlugin('CapacitorAuthManager', {\n web: () => import('./web').then(m => new m.CapacitorAuthManagerWeb()),\n});\nexport * from './definitions';\nexport { CapacitorAuthManager };\n// Export useful utilities for end users\nexport { AuthError, isAuthError } from './utils/auth-error';\n//# sourceMappingURL=index.js.map","export class EventEmitter {\n constructor() {\n this.listeners = new Set();\n }\n emit(data) {\n this.listeners.forEach(listener => {\n try {\n listener(data);\n }\n catch (error) {\n console.error('Error in event listener:', error);\n }\n });\n }\n subscribe(listener) {\n this.listeners.add(listener);\n return () => {\n this.listeners.delete(listener);\n };\n }\n clear() {\n this.listeners.clear();\n }\n get listenerCount() {\n return this.listeners.size;\n }\n}\n//# sourceMappingURL=event-emitter.js.map","import { AuthPersistence } from '../definitions';\nexport class WebStorage {\n constructor(persistence = AuthPersistence.LOCAL, prefix = 'cap_auth_') {\n this.prefix = prefix;\n switch (persistence) {\n case AuthPersistence.SESSION:\n this.storage = window.sessionStorage;\n break;\n case AuthPersistence.LOCAL:\n this.storage = window.localStorage;\n break;\n case AuthPersistence.NONE:\n // Use in-memory storage\n this.storage = new InMemoryStorage();\n break;\n default:\n this.storage = window.localStorage;\n }\n }\n async get(key) {\n try {\n return this.storage.getItem(this.prefix + key);\n }\n catch (error) {\n console.error('Storage get error:', error);\n return null;\n }\n }\n async set(key, value) {\n try {\n this.storage.setItem(this.prefix + key, value);\n }\n catch (error) {\n console.error('Storage set error:', error);\n throw error;\n }\n }\n async remove(key) {\n try {\n this.storage.removeItem(this.prefix + key);\n }\n catch (error) {\n console.error('Storage remove error:', error);\n }\n }\n async clear() {\n try {\n const keys = [];\n for (let i = 0; i < this.storage.length; i++) {\n const key = this.storage.key(i);\n if (key && key.startsWith(this.prefix)) {\n keys.push(key);\n }\n }\n keys.forEach(key => this.storage.removeItem(key));\n }\n catch (error) {\n console.error('Storage clear error:', error);\n }\n }\n}\nclass InMemoryStorage {\n constructor() {\n this.data = new Map();\n }\n get length() {\n return this.data.size;\n }\n clear() {\n this.data.clear();\n }\n getItem(key) {\n return this.data.get(key) || null;\n }\n key(index) {\n const keys = Array.from(this.data.keys());\n return keys[index] || null;\n }\n removeItem(key) {\n this.data.delete(key);\n }\n setItem(key, value) {\n this.data.set(key, value);\n }\n}\n//# sourceMappingURL=storage.js.map","export class Logger {\n constructor(config) {\n this.logLevels = {\n debug: 0,\n info: 1,\n warn: 2,\n error: 3,\n };\n this.config = config;\n }\n shouldLog(level) {\n if (!this.config.enableLogging)\n return false;\n return this.logLevels[level] >= this.logLevels[this.config.logLevel];\n }\n formatMessage(level, message) {\n const timestamp = new Date().toISOString();\n const prefix = this.config.prefix || 'CapacitorAuthManager';\n return `[${timestamp}] [${prefix}] [${level.toUpperCase()}] ${message}`;\n }\n debug(message, ...args) {\n if (this.shouldLog('debug')) {\n console.debug(this.formatMessage('debug', message), ...args);\n }\n }\n info(message, ...args) {\n if (this.shouldLog('info')) {\n console.info(this.formatMessage('info', message), ...args);\n }\n }\n warn(message, ...args) {\n if (this.shouldLog('warn')) {\n console.warn(this.formatMessage('warn', message), ...args);\n }\n }\n error(message, error) {\n if (this.shouldLog('error')) {\n console.error(this.formatMessage('error', message), error);\n }\n }\n setLogLevel(level) {\n this.config.logLevel = level;\n }\n setEnabled(enabled) {\n this.config.enableLogging = enabled;\n }\n}\n//# sourceMappingURL=logger.js.map","import { AuthErrorCode, AuthPersistence, } from '../definitions';\nimport { AuthError } from '../utils/auth-error';\nimport { EventEmitter } from '../utils/event-emitter';\nexport class BaseAuthProvider {\n constructor(config) {\n this.currentUser = null;\n this.isInitialized = false;\n this.provider = config.provider;\n this.options = config.options;\n this.storage = config.storage;\n this.logger = config.logger;\n this.persistence = config.persistence || AuthPersistence.LOCAL;\n this.authStateEmitter = new EventEmitter();\n }\n async getCurrentUser() {\n if (!this.isInitialized) {\n await this.initialize();\n }\n return this.currentUser;\n }\n addAuthStateListener(callback) {\n return this.authStateEmitter.subscribe(callback);\n }\n async setCurrentUser(user) {\n this.currentUser = user;\n // Persist user to storage\n const storageKey = `${this.provider}_current_user`;\n if (user) {\n await this.storage.set(storageKey, JSON.stringify(user));\n }\n else {\n await this.storage.remove(storageKey);\n }\n // Emit auth state change\n this.authStateEmitter.emit(user);\n }\n async loadCurrentUser() {\n try {\n const storageKey = `${this.provider}_current_user`;\n const userData = await this.storage.get(storageKey);\n if (userData) {\n this.currentUser = JSON.parse(userData);\n this.logger.debug(`Loaded user from storage for provider ${this.provider}`);\n }\n }\n catch (error) {\n this.logger.error('Failed to load user from storage', error);\n }\n }\n async saveCredential(credential) {\n const storageKey = `${this.provider}_credential`;\n await this.storage.set(storageKey, JSON.stringify(credential));\n }\n async loadCredential() {\n try {\n const storageKey = `${this.provider}_credential`;\n const credentialData = await this.storage.get(storageKey);\n if (credentialData) {\n return JSON.parse(credentialData);\n }\n }\n catch (error) {\n this.logger.error('Failed to load credential from storage', error);\n }\n return null;\n }\n async clearStoredData() {\n const userKey = `${this.provider}_current_user`;\n const credentialKey = `${this.provider}_credential`;\n await Promise.all([\n this.storage.remove(userKey),\n this.storage.remove(credentialKey),\n ]);\n }\n validateInitialized() {\n if (!this.isInitialized) {\n throw new AuthError(AuthErrorCode.INTERNAL_ERROR, `Provider ${this.provider} is not initialized`, this.provider);\n }\n }\n createAuthResult(user, credential, isNewUser = false, operationType = 'signIn') {\n return {\n user,\n credential,\n additionalUserInfo: {\n isNewUser,\n providerId: this.provider,\n },\n operationType,\n };\n }\n generateUniqueId() {\n return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;\n }\n isTokenExpired(expiresAt) {\n if (!expiresAt)\n return false;\n return Date.now() >= expiresAt;\n }\n calculateTokenExpiry(expiresIn) {\n if (!expiresIn) {\n // Default to 1 hour\n expiresIn = 3600;\n }\n return Date.now() + (expiresIn * 1000);\n }\n dispose() {\n this.authStateEmitter.clear();\n this.currentUser = null;\n this.isInitialized = false;\n }\n}\n//# sourceMappingURL=base-provider.js.map","import { AuthErrorCode, } from '../definitions';\nimport { BaseAuthProvider } from './base-provider';\nimport { AuthError } from '../utils/auth-error';\nexport class OAuthProvider extends BaseAuthProvider {\n async performOAuthFlow(options) {\n const config = this.getOAuthConfig();\n try {\n // Generate state and nonce for security\n const state = this.generateSecureRandomString();\n const nonce = this.generateSecureRandomString();\n // Store state and nonce for validation\n await this.storage.set(`${this.provider}_oauth_state`, state);\n await this.storage.set(`${this.provider}_oauth_nonce`, nonce);\n // Build authorization URL\n const authUrl = this.buildAuthorizationUrl(config, state, nonce, options);\n // Perform the OAuth flow (platform-specific implementation)\n const authResponse = await this.openAuthorizationUrl(authUrl);\n // Validate response\n await this.validateOAuthResponse(authResponse, state, nonce);\n // Exchange authorization code for tokens\n if (!authResponse.code) {\n throw new AuthError(AuthErrorCode.INVALID_GRANT, 'No authorization code received', this.provider);\n }\n const tokenResponse = await this.exchangeCodeForTokens(authResponse.code, config);\n // Parse user information\n const userInfo = await this.parseUserFromTokenResponse(tokenResponse);\n // Create AuthUser and AuthCredential\n const user = this.createAuthUser(userInfo, tokenResponse);\n const credential = this.createOAuthCredential(tokenResponse);\n // Save user and credential\n await this.setCurrentUser(user);\n await this.saveCredential(credential);\n return this.createAuthResult(user, credential, userInfo.isNewUser || false);\n }\n catch (error) {\n this.logger.error(`OAuth flow failed for ${this.provider}`, error);\n throw AuthError.fromError(error, this.provider);\n }\n finally {\n // Clean up temporary storage\n await this.storage.remove(`${this.provider}_oauth_state`);\n await this.storage.remove(`${this.provider}_oauth_nonce`);\n }\n }\n buildAuthorizationUrl(config, state, nonce, options) {\n var _a, _b, _c, _d;\n const params = new URLSearchParams(Object.assign({ client_id: config.clientId, redirect_uri: config.redirectUri, response_type: config.responseType || 'code', state,\n nonce }, config.additionalParams));\n // Add scopes\n const scopes = ((_a = options === null || options === void 0 ? void 0 : options.options) === null || _a === void 0 ? void 0 : _a.scopes) || config.scopes || [];\n if (scopes.length > 0) {\n params.set('scope', scopes.join(' '));\n }\n // Add custom parameters\n if ((_b = options === null || options === void 0 ? void 0 : options.options) === null || _b === void 0 ? void 0 : _b.customParameters) {\n Object.entries(options.options.customParameters).forEach(([key, value]) => {\n params.set(key, value);\n });\n }\n // Add login hint if provided\n if ((_c = options === null || options === void 0 ? void 0 : options.options) === null || _c === void 0 ? void 0 : _c.loginHint) {\n params.set('login_hint', options.options.loginHint);\n }\n // Add prompt if provided\n if ((_d = options === null || options === void 0 ? void 0 : options.options) === null || _d === void 0 ? void 0 : _d.prompt) {\n params.set('prompt', options.options.prompt);\n }\n return `${config.authorizationEndpoint}?${params.toString()}`;\n }\n async validateOAuthResponse(response, expectedState, _expectedNonce) {\n if (response.error) {\n throw new AuthError(this.mapOAuthError(response.error), response.error_description || response.error, this.provider);\n }\n if (response.state !== expectedState) {\n throw new AuthError(AuthErrorCode.INVALID_STATE, 'OAuth state mismatch', this.provider);\n }\n // Nonce validation is done after ID token is received\n }\n async exchangeCodeForTokens(code, config) {\n const params = new URLSearchParams({\n grant_type: config.grantType || 'authorization_code',\n code,\n redirect_uri: config.redirectUri,\n client_id: config.clientId,\n });\n if (config.clientSecret) {\n params.set('client_secret', config.clientSecret);\n }\n try {\n const response = await fetch(config.tokenEndpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n body: params.toString(),\n });\n const data = await response.json();\n if (!response.ok) {\n const errorData = data;\n throw new AuthError(this.mapOAuthError(errorData.error), errorData.error_description || 'Token exchange failed', this.provider, errorData);\n }\n return data;\n }\n catch (error) {\n if (error instanceof AuthError) {\n throw error;\n }\n throw new AuthError(AuthErrorCode.NETWORK_ERROR, 'Failed to exchange authorization code for tokens', this.provider, error);\n }\n }\n async refreshToken(_options) {\n this.validateInitialized();\n const credential = await this.loadCredential();\n if (!credential || !credential.refreshToken) {\n throw new AuthError(AuthErrorCode.INVALID_CREDENTIALS, 'No refresh token available', this.provider);\n }\n const config = this.getOAuthConfig();\n try {\n const params = new URLSearchParams({\n grant_type: 'refresh_token',\n refresh_token: credential.refreshToken,\n client_id: config.clientId,\n });\n if (config.clientSecret) {\n params.set('client_secret', config.clientSecret);\n }\n const response = await fetch(config.tokenEndpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n body: params.toString(),\n });\n const data = await response.json();\n if (!response.ok) {\n const errorData = data;\n throw new AuthError(this.mapOAuthError(errorData.error), errorData.error_description || 'Token refresh failed', this.provider, errorData);\n }\n // Update credential with new tokens\n const newCredential = this.createOAuthCredential(data);\n await this.saveCredential(newCredential);\n // Update user if needed\n if (this.currentUser) {\n this.currentUser.refreshToken = newCredential.refreshToken;\n await this.setCurrentUser(this.currentUser);\n }\n return this.createAuthResult(this.currentUser, newCredential);\n }\n catch (error) {\n if (error instanceof AuthError) {\n throw error;\n }\n throw new AuthError(AuthErrorCode.NETWORK_ERROR, 'Failed to refresh token', this.provider, error);\n }\n }\n async revokeAccess(token) {\n const config = this.getOAuthConfig();\n if (!config.revokeEndpoint) {\n this.logger.warn(`Revoke endpoint not configured for ${this.provider}`);\n return;\n }\n try {\n const credential = await this.loadCredential();\n const tokenToRevoke = token || (credential === null || credential === void 0 ? void 0 : credential.accessToken);\n if (!tokenToRevoke) {\n throw new AuthError(AuthErrorCode.INVALID_CREDENTIALS, 'No token to revoke', this.provider);\n }\n const params = new URLSearchParams({\n token: tokenToRevoke,\n client_id: config.clientId,\n });\n if (config.clientSecret) {\n params.set('client_secret', config.clientSecret);\n }\n await fetch(config.revokeEndpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n body: params.toString(),\n });\n // Clear stored data regardless of response\n await this.clearStoredData();\n await this.setCurrentUser(null);\n }\n catch (error) {\n this.logger.error('Failed to revoke token', error);\n // Still clear local data even if revocation fails\n await this.clearStoredData();\n await this.setCurrentUser(null);\n }\n }\n createOAuthCredential(tokenResponse) {\n return {\n providerId: this.provider,\n signInMethod: 'oauth',\n accessToken: tokenResponse.access_token,\n idToken: tokenResponse.id_token,\n refreshToken: tokenResponse.refresh_token,\n expiresAt: tokenResponse.expires_in\n ? this.calculateTokenExpiry(tokenResponse.expires_in)\n : undefined,\n tokenType: tokenResponse.token_type,\n scope: tokenResponse.scope,\n };\n }\n createAuthUser(userInfo, tokenResponse) {\n return {\n uid: userInfo.id || userInfo.sub || this.generateUniqueId(),\n email: userInfo.email || null,\n emailVerified: userInfo.email_verified || false,\n displayName: userInfo.name || userInfo.displayName || null,\n photoURL: userInfo.picture || userInfo.photoURL || null,\n phoneNumber: userInfo.phone_number || null,\n isAnonymous: false,\n tenantId: null,\n providerData: [{\n providerId: this.provider,\n uid: userInfo.id || userInfo.sub || '',\n displayName: userInfo.name || null,\n email: userInfo.email || null,\n phoneNumber: userInfo.phone_number || null,\n photoURL: userInfo.picture || null,\n }],\n metadata: {\n creationTime: new Date().toISOString(),\n lastSignInTime: new Date().toISOString(),\n },\n refreshToken: tokenResponse.refresh_token,\n };\n }\n mapOAuthError(error) {\n const errorMap = {\n 'invalid_request': AuthErrorCode.INVALID_REQUEST,\n 'unauthorized_client': AuthErrorCode.APP_NOT_AUTHORIZED,\n 'access_denied': AuthErrorCode.ACCESS_DENIED,\n 'unsupported_response_type': AuthErrorCode.UNSUPPORTED_GRANT_TYPE,\n 'invalid_scope': AuthErrorCode.INVALID_SCOPE,\n 'server_error': AuthErrorCode.SERVER_ERROR,\n 'temporarily_unavailable': AuthErrorCode.TEMPORARILY_UNAVAILABLE,\n 'invalid_grant': AuthErrorCode.INVALID_GRANT,\n 'invalid_client': AuthErrorCode.CLIENT_NOT_FOUND,\n 'interaction_required': AuthErrorCode.INTERACTION_REQUIRED,\n 'login_required': AuthErrorCode.LOGIN_REQUIRED,\n 'consent_required': AuthErrorCode.CONSENT_REQUIRED,\n };\n return errorMap[error] || AuthErrorCode.INTERNAL_ERROR;\n }\n generateSecureRandomString(length = 32) {\n const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n let result = '';\n const randomValues = new Uint8Array(length);\n crypto.getRandomValues(randomValues);\n for (let i = 0; i < length; i++) {\n result += chars[randomValues[i] % chars.length];\n }\n return result;\n }\n}\n//# sourceMappingURL=oauth-provider.js.map","import { AuthProvider, AuthErrorCode, } from '../../definitions';\nimport { OAuthProvider } from '../oauth-provider';\nimport { AuthError } from '../../utils/auth-error';\nexport class GoogleAuthProviderWeb extends OAuthProvider {\n constructor(config) {\n super(config);\n this.initPromise = null;\n }\n getOAuthConfig() {\n const options = this.options;\n return {\n clientId: options.clientId,\n clientSecret: options.clientSecret,\n redirectUri: window.location.origin,\n authorizationEndpoint: 'https://accounts.google.com/o/oauth2/v2/auth',\n tokenEndpoint: 'https://oauth2.googleapis.com/token',\n revokeEndpoint: 'https://oauth2.googleapis.com/revoke',\n userInfoEndpoint: 'https://www.googleapis.com/oauth2/v3/userinfo',\n scopes: options.scopes || ['openid', 'email', 'profile'],\n responseType: 'code',\n additionalParams: {\n access_type: options.offlineAccess ? 'offline' : 'online',\n include_granted_scopes: options.includeGrantedScopes ? 'true' : 'false',\n },\n };\n }\n async initialize() {\n if (this.isInitialized) {\n return;\n }\n if (this.initPromise) {\n return this.initPromise;\n }\n this.initPromise = this._initialize();\n try {\n await this.initPromise;\n }\n finally {\n this.initPromise = null;\n }\n }\n async _initialize() {\n var _a, _b;\n const options = this.options;\n try {\n // Load Google Identity Services library\n await this.loadGoogleIdentityServices();\n // Initialize Google client\n if (!((_b = (_a = window.google) === null || _a === void 0 ? void 0 : _a.accounts) === null || _b === void 0 ? void 0 : _b.oauth2)) {\n throw new Error('Google Identity Services not loaded');\n }\n window.google.accounts.oauth2.initCodeClient({\n client_id: options.clientId,\n scope: (options.scopes || ['openid', 'email', 'profile']).join(' '),\n ux_mode: 'popup',\n callback: (_response) => {\n // This callback will be overridden per sign-in\n },\n });\n // Load previously authenticated user\n await this.loadCurrentUser();\n this.isInitialized = true;\n this.logger.info('Google Auth provider initialized');\n }\n catch (error) {\n this.logger.error('Failed to initialize Google Auth', error);\n throw AuthError.fromError(error, this.provider);\n }\n }\n async signIn(options) {\n this.validateInitialized();\n return new Promise((resolve, reject) => {\n var _a, _b, _c, _d, _e;\n try {\n const googleOptions = this.options;\n // Configure sign-in options\n const signInConfig = {\n client_id: googleOptions.clientId,\n scope: (((_a = options === null || options === void 0 ? void 0 : options.options) === null || _a === void 0 ? void 0 : _a.scopes) || googleOptions.scopes || ['openid', 'email', 'profile']).join(' '),\n callback: async (response) => {\n if (response.error) {\n reject(new AuthError(this.mapGoogleError(response.error), response.error_description || response.error, this.provider));\n return;\n }\n try {\n // Exchange authorization code for tokens\n if (!response.code) {\n throw new AuthError(AuthErrorCode.INVALID_GRANT, 'No authorization code received', this.provider);\n }\n const tokenResponse = await this.exchangeCodeForTokens(response.code, this.getOAuthConfig());\n // Get user info\n const userInfo = await this.getUserInfo(tokenResponse.access_token);\n // Create AuthUser and AuthCredential\n const user = this.createAuthUser(userInfo, tokenResponse);\n const credential = this.createOAuthCredential(tokenResponse);\n // Save user and credential\n await this.setCurrentUser(user);\n await this.saveCredential(credential);\n resolve(this.createAuthResult(user, credential, false));\n }\n catch (error) {\n reject(AuthError.fromError(error, this.provider));\n }\n },\n };\n // Add login hint if provided\n if (((_b = options === null || options === void 0 ? void 0 : options.options) === null || _b === void 0 ? void 0 : _b.loginHint) || googleOptions.loginHint) {\n signInConfig.login_hint = ((_c = options === null || options === void 0 ? void 0 : options.options) === null || _c === void 0 ? void 0 : _c.loginHint) || googleOptions.loginHint;\n }\n // Add hosted domain if provided\n if (googleOptions.hostedDomain) {\n signInConfig.hd = googleOptions.hostedDomain;\n }\n // Create new client with callback\n if (!((_e = (_d = window.google) === null || _d === void 0 ? void 0 : _d.accounts) === null || _e === void 0 ? void 0 : _e.oauth2)) {\n throw new Error('Google Identity Services not loaded');\n }\n const client = window.google.accounts.oauth2.initCodeClient(signInConfig);\n // Request authorization code\n client.requestCode();\n }\n catch (error) {\n reject(AuthError.fromError(error, this.provider));\n }\n });\n }\n async signOut(options) {\n var _a, _b;\n this.validateInitialized();\n try {\n // Revoke token if requested\n if (options === null || options === void 0 ? void 0 : options.revokeToken) {\n const credential = await this.loadCredential();\n if (credential === null || credential === void 0 ? void 0 : credential.accessToken) {\n await this.revokeAccess(credential.accessToken);\n }\n }\n // Clear stored data\n await this.clearStoredData();\n await this.setCurrentUser(null);\n // Disconnect Google account if available\n if ((_b = (_a = window.google) === null || _a === void 0 ? void 0 : _a.accounts) === null || _b === void 0 ? void 0 : _b.id) {\n window.google.accounts.id.disableAutoSelect();\n }\n this.logger.info('Signed out from Google');\n }\n catch (error) {\n this.logger.error('Failed to sign out from Google', error);\n throw AuthError.fromError(error, this.provider);\n }\n }\n async isSupported() {\n // Check if we're in a browser environment\n if (typeof window === 'undefined' || typeof document === 'undefined') {\n return false;\n }\n // Check if we can load Google Identity Services\n try {\n await this.loadGoogleIdentityServices();\n return true;\n }\n catch (_a) {\n return false;\n }\n }\n async linkAccount(options) {\n // For web, linking is the same as signing in\n return this.signIn(options);\n }\n async unlinkAccount(_options) {\n // For web, unlinking is the same as signing out\n await this.signOut();\n }\n async openAuthorizationUrl(_url) {\n // This method is not used in Google Identity Services flow\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Direct OAuth flow not supported for Google. Use signIn method instead.', this.provider);\n }\n async parseUserFromTokenResponse(response) {\n // Get user info from the userinfo endpoint\n if (response.access_token) {\n return this.getUserInfo(response.access_token);\n }\n throw new AuthError(AuthErrorCode.INVALID_CREDENTIALS, 'No access token in response', this.provider);\n }\n async getUserInfo(accessToken) {\n try {\n const response = await fetch('https://www.googleapis.com/oauth2/v3/userinfo', {\n headers: {\n Authorization: `Bearer ${accessToken}`,\n },\n });\n if (!response.ok) {\n throw new AuthError(AuthErrorCode.NETWORK_ERROR, 'Failed to fetch user info', this.provider);\n }\n return await response.json();\n }\n catch (error) {\n if (error instanceof AuthError) {\n throw error;\n }\n throw new AuthError(AuthErrorCode.NETWORK_ERROR, 'Failed to fetch user info', this.provider, error);\n }\n }\n async loadGoogleIdentityServices() {\n var _a, _b;\n if ((_b = (_a = window.google) === null || _a === void 0 ? void 0 : _a.accounts) === null || _b === void 0 ? void 0 : _b.oauth2) {\n return;\n }\n return new Promise((resolve, reject) => {\n const script = document.createElement('script');\n script.src = 'https://accounts.google.com/gsi/client';\n script.async = true;\n script.defer = true;\n script.onload = () => {\n var _a, _b;\n if ((_b = (_a = window.google) === null || _a === void 0 ? void 0 : _a.accounts) === null || _b === void 0 ? void 0 : _b.oauth2) {\n resolve();\n }\n else {\n reject(new Error('Google Identity Services failed to load'));\n }\n };\n script.onerror = () => {\n reject(new Error('Failed to load Google Identity Services'));\n };\n document.head.appendChild(script);\n });\n }\n mapGoogleError(error) {\n const errorMap = {\n 'access_denied': AuthErrorCode.ACCESS_DENIED,\n 'unauthorized_client': AuthErrorCode.APP_NOT_AUTHORIZED,\n 'invalid_request': AuthErrorCode.INVALID_REQUEST,\n 'invalid_scope': AuthErrorCode.INVALID_SCOPE,\n 'server_error': AuthErrorCode.SERVER_ERROR,\n 'temporarily_unavailable': AuthErrorCode.TEMPORARILY_UNAVAILABLE,\n 'popup_closed_by_user': AuthErrorCode.POPUP_CLOSED_BY_USER,\n 'popup_blocked': AuthErrorCode.POPUP_BLOCKED,\n };\n return errorMap[error] || AuthErrorCode.INTERNAL_ERROR;\n }\n createAuthUser(userInfo, tokenResponse) {\n return {\n uid: userInfo.sub || '',\n email: userInfo.email || null,\n emailVerified: userInfo.email_verified || false,\n displayName: userInfo.name || null,\n photoURL: userInfo.picture || null,\n phoneNumber: null,\n isAnonymous: false,\n tenantId: null,\n providerData: [{\n providerId: AuthProvider.GOOGLE,\n uid: userInfo.sub || '',\n displayName: userInfo.name || null,\n email: userInfo.email || null,\n phoneNumber: null,\n photoURL: userInfo.picture || null,\n }],\n metadata: {\n creationTime: new Date().toISOString(),\n lastSignInTime: new Date().toISOString(),\n },\n refreshToken: tokenResponse.refresh_token,\n };\n }\n}\n//# sourceMappingURL=google-provider.js.map","import { AuthProvider, AppleAuthScope, AuthErrorCode, } from '../../definitions';\nimport { OAuthProvider } from '../oauth-provider';\nimport { AuthError } from '../../utils/auth-error';\nexport class AppleAuthProviderWeb extends OAuthProvider {\n constructor(config) {\n super(config);\n this.initPromise = null;\n }\n getOAuthConfig() {\n const options = this.options;\n return {\n clientId: options.clientId,\n redirectUri: options.redirectUri,\n authorizationEndpoint: 'https://appleid.apple.com/auth/authorize',\n tokenEndpoint: 'https://appleid.apple.com/auth/token',\n scopes: this.mapAppleScopes(options.scopes),\n responseType: options.responseType || 'code id_token',\n additionalParams: {\n response_mode: options.responseMode || 'form_post',\n },\n };\n }\n async initialize() {\n if (this.isInitialized) {\n return;\n }\n if (this.initPromise) {\n return this.initPromise;\n }\n this.initPromise = this._initialize();\n try {\n await this.initPromise;\n }\n finally {\n this.initPromise = null;\n }\n }\n async _initialize() {\n const options = this.options;\n try {\n // Load Apple JS SDK\n await this.loadAppleSDK();\n // Initialize Apple ID auth\n window.AppleID.auth.init({\n clientId: options.clientId,\n scope: this.mapAppleScopes(options.scopes).join(' '),\n redirectURI: options.redirectUri,\n state: options.state || this.generateSecureRandomString(),\n nonce: options.nonce,\n usePopup: options.usePopup !== false, // Default to true\n });\n // Load previously authenticated user\n await this.loadCurrentUser();\n this.isInitialized = true;\n this.logger.info('Apple Auth provider initialized');\n }\n catch (error) {\n this.logger.error('Failed to initialize Apple Auth', error);\n throw AuthError.fromError(error, this.provider);\n }\n }\n async signIn(options) {\n var _a, _b, _c;\n this.validateInitialized();\n try {\n const appleOptions = this.options;\n // Generate state and nonce for security\n const state = ((_a = options === null || options === void 0 ? void 0 : options.options) === null || _a === void 0 ? void 0 : _a.state) || this.generateSecureRandomString();\n const nonce = ((_b = options === null || options === void 0 ? void 0 : options.options) === null || _b === void 0 ? void 0 : _b.nonce) || this.generateSecureRandomString();\n // Store state and nonce for validation\n await this.storage.set(`${this.provider}_oauth_state`, state);\n await this.storage.set(`${this.provider}_oauth_nonce`, nonce);\n // Configure sign-in options\n const signInConfig = {\n clientId: appleOptions.clientId,\n scope: this.mapAppleScopes(((_c = options === null || options === void 0 ? void 0 : options.options) === null || _c === void 0 ? void 0 : _c.scopes) || appleOptions.scopes).join(' '),\n redirectURI: appleOptions.redirectUri,\n state,\n nonce,\n usePopup: appleOptions.usePopup !== false,\n };\n // Perform sign in\n const response = await window.AppleID.auth.signIn(signInConfig);\n // Validate response\n await this.validateAppleResponse(response, state, nonce);\n // Parse user information from response\n const user = this.createAppleAuthUser(response);\n const credential = this.createAppleCredential(response);\n // Save user and credential\n await this.setCurrentUser(user);\n await this.saveCredential(credential);\n return this.createAuthResult(user, credential, response.user ? true : false);\n }\n catch (error) {\n this.logger.error('Apple sign in failed', error);\n if (error && typeof error === 'object' && 'error' in error) {\n throw new AuthError(this.mapAppleError(error.error), error.error, this.provider);\n }\n throw AuthError.fromError(error, this.provider);\n }\n finally {\n // Clean up temporary storage\n await this.storage.remove(`${this.provider}_oauth_state`);\n await this.storage.remove(`${this.provider}_oauth_nonce`);\n }\n }\n async signOut(_options) {\n this.validateInitialized();\n try {\n // Apple doesn't provide a sign-out method in their JS SDK\n // Just clear local data\n await this.clearStoredData();\n await this.setCurrentUser(null);\n this.logger.info('Signed out from Apple');\n }\n catch (error) {\n this.logger.error('Failed to sign out from Apple', error);\n throw AuthError.fromError(error, this.provider);\n }\n }\n async isSupported() {\n // Check if we're in a browser environment\n if (typeof window === 'undefined' || typeof document === 'undefined') {\n return false;\n }\n // Check if we're on HTTPS (required for Apple Sign In)\n if (window.location.protocol !== 'https:' && window.location.hostname !== 'localhost') {\n return false;\n }\n return true;\n }\n async linkAccount(options) {\n // For web, linking is the same as signing in\n return this.signIn(options);\n }\n async unlinkAccount(_options) {\n // For web, unlinking is the same as signing out\n await this.signOut();\n }\n async openAuthorizationUrl(_url) {\n // This method is not used in Apple JS SDK flow\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Direct OAuth flow not supported for Apple. Use signIn method instead.', this.provider);\n }\n async parseUserFromTokenResponse(_response) {\n // Apple provides user info directly in the authorization response\n // Note: This is a simplified implementation since Apple doesn't provide user info in the token response\n return {};\n }\n async loadAppleSDK() {\n var _a;\n if ((_a = window.AppleID) === null || _a === void 0 ? void 0 : _a.auth) {\n return;\n }\n return new Promise((resolve, reject) => {\n const script = document.createElement('script');\n script.src = 'https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js';\n script.async = true;\n script.defer = true;\n script.onload = () => {\n var _a;\n if ((_a = window.AppleID) === null || _a === void 0 ? void 0 : _a.auth) {\n resolve();\n }\n else {\n reject(new Error('Apple ID SDK failed to load'));\n }\n };\n script.onerror = () => {\n reject(new Error('Failed to load Apple ID SDK'));\n };\n document.head.appendChild(script);\n });\n }\n mapAppleScopes(scopes) {\n if (!scopes || scopes.length === 0) {\n return [];\n }\n return scopes.map(scope => {\n switch (scope) {\n case AppleAuthScope.EMAIL:\n return 'email';\n case AppleAuthScope.NAME:\n return 'name';\n default:\n return scope;\n }\n });\n }\n async validateAppleResponse(response, expectedState, _expectedNonce) {\n if (response.error) {\n throw new AuthError(this.mapAppleError(response.error), response.error, this.provider);\n }\n if (response.authorization.state !== expectedState) {\n throw new AuthError(AuthErrorCode.INVALID_STATE, 'OAuth state mismatch', this.provider);\n }\n // ID token validation with nonce would be done here\n // For production, you should validate the ID token on your backend\n }\n createAppleAuthUser(response) {\n var _a, _b, _c;\n const user = response.user || {};\n const idToken = (_a = response.authorization) === null || _a === void 0 ? void 0 : _a.id_token;\n // Parse ID token claims (in production, do this on backend)\n let claims = {};\n if (idToken) {\n try {\n const payload = idToken.split('.')[1];\n claims = JSON.parse(atob(payload));\n }\n catch (error) {\n this.logger.error('Failed to parse ID token', error);\n }\n }\n return {\n uid: claims.sub || ((_b = response.authorization) === null || _b === void 0 ? void 0 : _b.code) || this.generateUniqueId(),\n email: user.email || claims.email || null,\n emailVerified: claims.email_verified || false,\n displayName: user.name ? `${user.name.firstName || ''} ${user.name.lastName || ''}`.trim() : null,\n photoURL: null, // Apple doesn't provide profile photos\n phoneNumber: null,\n isAnonymous: false,\n tenantId: null,\n providerData: [{\n providerId: AuthProvider.APPLE,\n uid: claims.sub || ((_c = response.authorization) === null || _c === void 0 ? void 0 : _c.code) || '',\n displayName: user.name ? `${user.name.firstName || ''} ${user.name.lastName || ''}`.trim() : null,\n email: user.email || claims.email || null,\n phoneNumber: null,\n photoURL: null,\n }],\n metadata: {\n creationTime: new Date().toISOString(),\n lastSignInTime: new Date().toISOString(),\n },\n refreshToken: undefined, // Apple doesn't provide refresh tokens through JS SDK\n };\n }\n createAppleCredential(response) {\n var _a, _b;\n return {\n providerId: AuthProvider.APPLE,\n signInMethod: 'oauth',\n accessToken: undefined, // Apple doesn't provide access tokens through JS SDK\n idToken: (_a = response.authorization) === null || _a === void 0 ? void 0 : _a.id_token,\n refreshToken: undefined, // Apple doesn't provide refresh tokens through JS SDK\n expiresAt: undefined,\n tokenType: 'Bearer',\n scope: undefined, // Apple doesn't provide scope info in JS SDK response\n rawNonce: (_b = response.authorization) === null || _b === void 0 ? void 0 : _b.state,\n };\n }\n mapAppleError(error) {\n const errorMap = {\n 'user_cancelled_authorize': AuthErrorCode.USER_CANCELLED,\n 'popup_closed_by_user': AuthErrorCode.POPUP_CLOSED_BY_USER,\n 'popup_blocked': AuthErrorCode.POPUP_BLOCKED,\n 'invalid_request': AuthErrorCode.INVALID_REQUEST,\n 'invalid_client': AuthErrorCode.CLIENT_NOT_FOUND,\n 'invalid_scope': AuthErrorCode.INVALID_SCOPE,\n 'unauthorized_client': AuthErrorCode.APP_NOT_AUTHORIZED,\n 'access_denied': AuthErrorCode.ACCESS_DENIED,\n 'unsupported_response_type': AuthErrorCode.UNSUPPORTED_GRANT_TYPE,\n 'server_error': AuthErrorCode.SERVER_ERROR,\n 'temporarily_unavailable': AuthErrorCode.TEMPORARILY_UNAVAILABLE,\n };\n return errorMap[error] || AuthErrorCode.INTERNAL_ERROR;\n }\n}\n//# sourceMappingURL=apple-provider.js.map","import { AuthProvider } from '../definitions';\nimport { GoogleAuthProviderWeb } from './web/google-provider';\nimport { AppleAuthProviderWeb } from './web/apple-provider';\nexport class ProviderFactory {\n static async createProvider(config, storage, logger, persistence) {\n const providerConfig = {\n provider: config.provider,\n options: config.options,\n storage,\n logger,\n persistence,\n };\n switch (config.provider) {\n case AuthProvider.GOOGLE:\n return new GoogleAuthProviderWeb(providerConfig);\n case AuthProvider.APPLE:\n return new AppleAuthProviderWeb(providerConfig);\n case AuthProvider.MICROSOFT:\n // TODO: Implement Microsoft provider\n logger.warn('Microsoft provider not yet implemented');\n return null;\n case AuthProvider.FACEBOOK:\n // TODO: Implement Facebook provider\n logger.warn('Facebook provider not yet implemented');\n return null;\n case AuthProvider.GITHUB:\n // TODO: Implement GitHub provider\n logger.warn('GitHub provider not yet implemented');\n return null;\n case AuthProvider.SLACK:\n // TODO: Implement Slack provider\n logger.warn('Slack provider not yet implemented');\n return null;\n case AuthProvider.LINKEDIN:\n // TODO: Implement LinkedIn provider\n logger.warn('LinkedIn provider not yet implemented');\n return null;\n case AuthProvider.FIREBASE:\n // TODO: Implement Firebase provider\n logger.warn('Firebase provider not yet implemented');\n return null;\n case AuthProvider.EMAIL_MAGIC_LINK:\n // TODO: Implement Email Magic Link provider\n logger.warn('Email Magic Link provider not yet implemented');\n return null;\n case AuthProvider.SMS:\n // TODO: Implement SMS provider\n logger.warn('SMS provider not yet implemented');\n return null;\n case AuthProvider.EMAIL_PASSWORD:\n // TODO: Implement Email/Password provider\n logger.warn('Email/Password provider not yet implemented');\n return null;\n case AuthProvider.PHONE_PASSWORD:\n // TODO: Implement Phone/Password provider\n logger.warn('Phone/Password provider not yet implemented');\n return null;\n case AuthProvider.USERNAME_PASSWORD:\n // TODO: Implement Username/Password provider\n logger.warn('Username/Password provider not yet implemented');\n return null;\n case AuthProvider.EMAIL_CODE:\n // TODO: Implement Email Code provider\n logger.warn('Email Code provider not yet implemented');\n return null;\n case AuthProvider.BIOMETRIC:\n // TODO: Implement Biometric provider\n logger.warn('Biometric provider not yet implemented');\n return null;\n default:\n logger.error(`Unknown provider: ${config.provider}`);\n return null;\n }\n }\n}\n//# sourceMappingURL=provider-factory.js.map","import { WebPlugin } from '@capacitor/core';\nimport { AuthErrorCode, AuthPersistence } from './definitions';\nimport { AuthError } from './utils/auth-error';\nimport { EventEmitter } from './utils/event-emitter';\nimport { WebStorage } from './utils/storage';\nimport { Logger } from './utils/logger';\nimport { ProviderFactory } from './providers/provider-factory';\nexport class CapacitorAuthManagerWeb extends WebPlugin {\n constructor() {\n super();\n this.providers = new Map();\n this.isInitialized = false;\n this.currentProvider = null;\n this.tokenRefreshTimers = new Map();\n this.autoRefreshToken = true;\n this.tokenRefreshBuffer = 300000; // 5 minutes before expiry\n this.authStateEmitter = new EventEmitter();\n this.storage = new WebStorage(AuthPersistence.LOCAL);\n this.logger = new Logger({\n enableLogging: false,\n logLevel: 'info',\n prefix: 'CapAuthManager',\n });\n }\n async initialize(options) {\n var _a, _b;\n if (this.isInitialized) {\n this.logger.warn('Auth manager already initialized');\n return;\n }\n try {\n // Configure logger\n if (options.enableLogging !== undefined) {\n this.logger.setEnabled(options.enableLogging);\n }\n if (options.logLevel) {\n this.logger.setLogLevel(options.logLevel);\n }\n // Configure persistence\n if (options.persistence) {\n this.storage = new WebStorage(options.persistence);\n }\n // Configure auto refresh\n this.autoRefreshToken = (_a = options.autoRefreshToken) !== null && _a !== void 0 ? _a : true;\n this.tokenRefreshBuffer = (_b = options.tokenRefreshBuffer) !== null && _b !== void 0 ? _b : 300000;\n // Initialize providers\n for (const providerConfig of options.providers) {\n await this.initializeProvider(providerConfig);\n }\n // Load last used provider\n const lastProvider = await this.storage.get('last_auth_provider');\n if (lastProvider) {\n this.currentProvider = lastProvider;\n }\n this.isInitialized = true;\n this.logger.info('Auth manager initialized successfully');\n }\n catch (error) {\n this.logger.error('Failed to initialize auth manager', error);\n throw AuthError.fromError(error);\n }\n }\n async signIn(options) {\n this.validateInitialized();\n const provider = this.getProvider(options.provider);\n try {\n this.logger.info(`Signing in with ${options.provider}`);\n const result = await provider.signIn(options);\n // Set as current provider\n this.currentProvider = options.provider;\n await this.storage.set('last_auth_provider', options.provider);\n // Setup token refresh if needed\n if (this.autoRefreshToken && result.credential.refreshToken) {\n this.setupTokenRefresh(options.provider, result.credential);\n }\n // Forward auth state change\n this.authStateEmitter.emit(result.user);\n return result;\n }\n catch (error) {\n this.logger.error(`Sign in failed for ${options.provider}`, error);\n throw AuthError.fromError(error, options.provider);\n }\n }\n async signOut(options) {\n this.validateInitialized();\n try {\n if (options === null || options === void 0 ? void 0 : options.provider) {\n // Sign out from specific provider\n const provider = this.getProvider(options.provider);\n await provider.signOut(options);\n // Cancel token refresh\n this.cancelTokenRefresh(options.provider);\n }\n else if (this.currentProvider) {\n // Sign out from current provider\n const provider = this.getProvider(this.currentProvider);\n await provider.signOut(options);\n // Cancel token refresh\n this.cancelTokenRefresh(this.currentProvider);\n // Clear current provider\n this.currentProvider = null;\n await this.storage.remove('last_auth_provider');\n }\n else {\n // Sign out from all providers\n for (const [providerId, provider] of this.providers) {\n try {\n await provider.signOut(options);\n this.cancelTokenRefresh(providerId);\n }\n catch (error) {\n this.logger.error(`Failed to sign out from ${providerId}`, error);\n }\n }\n this.currentProvider = null;\n await this.storage.remove('last_auth_provider');\n }\n // Emit null user\n this.authStateEmitter.emit(null);\n }\n catch (error) {\n this.logger.error('Sign out failed', error);\n throw AuthError.fromError(error);\n }\n }\n async getCurrentUser() {\n this.validateInitialized();\n if (this.currentProvider) {\n const provider = this.getProvider(this.currentProvider);\n return provider.getCurrentUser();\n }\n // Try to get user from any provider\n for (const provider of this.providers.values()) {\n const user = await provider.getCurrentUser();\n if (user) {\n return user;\n }\n }\n return null;\n }\n async refreshToken(options) {\n this.validateInitialized();\n const providerId = (options === null || options === void 0 ? void 0 : options.provider) || this.currentProvider;\n if (!providerId) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No provider specified for token refresh');\n }\n const provider = this.getProvider(providerId);\n try {\n const result = await provider.refreshToken(options);\n // Setup new token refresh\n if (this.autoRefreshToken && result.credential.refreshToken) {\n this.setupTokenRefresh(providerId, result.credential);\n }\n return result;\n }\n catch (error) {\n this.logger.error(`Token refresh failed for ${providerId}`, error);\n throw AuthError.fromError(error, providerId);\n }\n }\n async addAuthStateListener(callback) {\n const unsubscribe = this.authStateEmitter.subscribe(callback);\n // Create a Capacitor-compatible listener handle\n const handle = {\n remove: async () => {\n unsubscribe();\n }\n };\n // Emit current user state\n const currentUser = await this.getCurrentUser();\n callback(currentUser);\n return handle;\n }\n async removeAllListeners() {\n this.authStateEmitter.clear();\n // Also clear provider listeners\n for (const provider of this.providers.values()) {\n provider.dispose();\n }\n }\n async isSupported(options) {\n try {\n if (!this.providers.has(options.provider)) {\n return {\n isSupported: false,\n reason: 'Provider not configured',\n availableProviders: Array.from(this.providers.keys()),\n };\n }\n const provider = this.getProvider(options.provider);\n const isSupported = await provider.isSupported();\n return {\n isSupported,\n reason: isSupported ? undefined : 'Provider not supported on this platform',\n availableProviders: Array.from(this.providers.keys()),\n };\n }\n catch (error) {\n return {\n isSupported: false,\n reason: error instanceof Error ? error.message : 'Unknown error',\n availableProviders: Array.from(this.providers.keys()),\n };\n }\n }\n async configure(options) {\n this.validateInitialized();\n const providerConfig = {\n provider: options.provider,\n options: options.options,\n };\n await this.initializeProvider(providerConfig);\n }\n async linkAccount(options) {\n this.validateInitialized();\n const provider = this.getProvider(options.provider);\n try {\n return await provider.linkAccount(options);\n }\n catch (error) {\n this.logger.error(`Account linking failed for ${options.provider}`, error);\n throw AuthError.fromError(error, options.provider);\n }\n }\n async unlinkAccount(options) {\n this.validateInitialized();\n const provider = this.getProvider(options.provider);\n try {\n await provider.unlinkAccount(options);\n }\n catch (error) {\n this.logger.error(`Account unlinking failed for ${options.provider}`, error);\n throw AuthError.fromError(error, options.provider);\n }\n }\n async sendPasswordResetEmail(_options) {\n this.validateInitialized();\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Password reset not implemented for current provider');\n }\n async sendEmailVerification(_options) {\n this.validateInitialized();\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Email verification not implemented for current provider');\n }\n async sendSmsCode(_options) {\n this.validateInitialized();\n // This would typically be implemented by SMS provider\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'SMS authentication not implemented');\n }\n async verifySmsCode(_options) {\n this.validateInitialized();\n // This would typically be implemented by SMS provider\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'SMS authentication not implemented');\n }\n async sendEmailCode(_options) {\n this.validateInitialized();\n // This would typically be implemented by email code provider\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Email code authentication not implemented');\n }\n async verifyEmailCode(_options) {\n this.validateInitialized();\n // This would typically be implemented by email code provider\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Email code authentication not implemented');\n }\n async updateProfile(_options) {\n this.validateInitialized();\n if (!this.currentProvider) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No authenticated user found');\n }\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Profile update not implemented for current provider');\n }\n async deleteAccount(_options) {\n this.validateInitialized();\n if (!this.currentProvider) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No authenticated user found');\n }\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'Account deletion not implemented for current provider');\n }\n async getIdToken(options) {\n this.validateInitialized();\n const providerId = (options === null || options === void 0 ? void 0 : options.provider) || this.currentProvider;\n if (!providerId) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No provider specified for ID token');\n }\n // This would typically be implemented by specific providers\n throw new AuthError(AuthErrorCode.OPERATION_NOT_ALLOWED, 'ID token retrieval not implemented for current provider');\n }\n async setCustomParameters(options) {\n this.validateInitialized();\n // Store custom parameters for the provider\n await this.storage.set(`${options.provider}_custom_params`, JSON.stringify(options.parameters));\n }\n async revokeAccess(options) {\n this.validateInitialized();\n const providerId = (options === null || options === void 0 ? void 0 : options.provider) || this.currentProvider;\n if (!providerId) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, 'No provider specified for access revocation');\n }\n const provider = this.getProvider(providerId);\n try {\n await provider.revokeAccess(options === null || options === void 0 ? void 0 : options.token);\n }\n catch (error) {\n this.logger.error(`Access revocation failed for ${providerId}`, error);\n throw AuthError.fromError(error, providerId);\n }\n }\n validateInitialized() {\n if (!this.isInitialized) {\n throw new AuthError(AuthErrorCode.INTERNAL_ERROR, 'Auth manager not initialized. Call initialize() first.');\n }\n }\n getProvider(providerId) {\n const provider = this.providers.get(providerId);\n if (!provider) {\n throw new AuthError(AuthErrorCode.MISSING_CONFIGURATION, `Provider ${providerId} not configured`);\n }\n return provider;\n }\n async initializeProvider(config) {\n try {\n // Dynamically import provider implementation\n const provider = await this.createProvider(config);\n if (provider) {\n await provider.initialize();\n // Forward auth state changes\n provider.addAuthStateListener((user) => {\n if (user) {\n this.authStateEmitter.emit(user);\n }\n });\n this.providers.set(config.provider, provider);\n this.logger.info(`Provider ${config.provider} initialized`);\n }\n }\n catch (error) {\n this.logger.error(`Failed to initialize provider ${config.provider}`, error);\n throw error;\n }\n }\n async createProvider(config) {\n return ProviderFactory.createProvider(config, this.storage, this.logger, this.storage instanceof WebStorage ? AuthPersistence.LOCAL : AuthPersistence.NONE);\n }\n setupTokenRefresh(provider, credential) {\n // Cancel existing refresh timer\n this.cancelTokenRefresh(provider);\n if (!credential.expiresAt || !credential.refreshToken) {\n return;\n }\n const refreshTime = credential.expiresAt - this.tokenRefreshBuffer - Date.now();\n if (refreshTime > 0) {\n const timer = setTimeout(async () => {\n try {\n await this.refreshToken({ provider });\n }\n catch (error) {\n this.logger.error(`Auto token refresh failed for ${provider}`, error);\n }\n }, refreshTime);\n this.tokenRefreshTimers.set(provider, timer);\n }\n }\n cancelTokenRefresh(provider) {\n const timer = this.tokenRefreshTimers.get(provider);\n if (timer) {\n clearTimeout(timer);\n this.tokenRefreshTimers.delete(provider);\n }\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["AuthProvider","AppleAuthScope","BiometricType","AuthPersistence","AuthErrorCode","registerPlugin","WebPlugin"],"mappings":";;;AAAWA;IACX,CAAC,UAAU,YAAY,EAAE;IACzB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,QAAQ;IACrC,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;IACnC,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;IAC3C,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,QAAQ;IACrC,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO;IACnC,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC,IAAI,YAAY,CAAC,UAAU,CAAC,GAAG,UAAU;IACzC,IAAI,YAAY,CAAC,kBAAkB,CAAC,GAAG,kBAAkB;IACzD,IAAI,YAAY,CAAC,KAAK,CAAC,GAAG,KAAK;IAC/B,IAAI,YAAY,CAAC,gBAAgB,CAAC,GAAG,gBAAgB;IACrD,IAAI,YAAY,CAAC,gBAAgB,CAAC,GAAG,gBAAgB;IACrD,IAAI,YAAY,CAAC,mBAAmB,CAAC,GAAG,mBAAmB;IAC3D,IAAI,YAAY,CAAC,YAAY,CAAC,GAAG,YAAY;IAC7C,IAAI,YAAY,CAAC,WAAW,CAAC,GAAG,WAAW;IAC3C,CAAC,EAAEA,oBAAY,KAAKA,oBAAY,GAAG,EAAE,CAAC,CAAC;AAC5BC;IACX,CAAC,UAAU,cAAc,EAAE;IAC3B,IAAI,cAAc,CAAC,OAAO,CAAC,GAAG,OAAO;IACrC,IAAI,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM;IACnC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