frontegg_flutter library
Classes
- FronteggConstants
- A class containing constants for configuring Frontegg authentication.
- FronteggFlutter
- FronteggProvider
- Provides the FronteggFlutter instance to the widget tree.
- FronteggState
- Represents the authentication state in the Frontegg system.
- FronteggTenant
- Represents a tenant in the Frontegg authentication system.
- FronteggUser
- Represents a user in the Frontegg authentication system.
- FronteggUserRole
- Represents a user role in the Frontegg authentication system.
Enums
- FronteggSocialProvider
- Enum representing supported social authentication providers in Frontegg.
Extensions
- FronteggBuildContextEx on BuildContext
- An extension on BuildContext to provide easy access to FronteggFlutter.
Exceptions / Errors
- CanceledByUserException
- Exception thrown for other unspecified errors
- CodeVerifierNotFoundException
- Exception thrown when code verifier is not found
- CookieNotFoundException
- Exception thrown for other unspecified errors
- CouldNotExchangeTokenException
- Exception thrown when token exchange fails
- CouldNotFindRootViewControllerException
- Exception thrown when root view controller cannot be found
- FailedToAuthenticateException
- Exception thrown when authentication fails
- FailedToAuthenticateWithPasskeysException
- Exception thrown when passkeys authentication fails
- FailedToExtractCodeException
- Exception thrown when code extraction fails
- FailedToLoadUserDataException
- Exception thrown when loading user data fails
- FailedToMFAException
- Exception thrown when MFA fails
- FailedToRefreshTokenException
- Exception thrown when token refresh fails
- FailedToRegisterWbeauthnException
- Exception thrown when WebAuthn registration process fails. This can occur during passkey or biometric authentication setup.
- FailedToSwitchTenantException
- Exception thrown when tenant switching fails
- FronteggException
- Represents an exception that occurs within the Frontegg authentication system.
- InvalidPasskeysRequestException
- Exception thrown when passkeys request is invalid
- InvalidResponseException
- Exception thrown when response is invalid
- Exception thrown when a key is not found in SharedPreferences storage. This typically occurs when trying to access stored authentication data that doesn't exist.
- MfaNotEnrolledException
- Exception thrown when MFA (Multi-Factor Authentication) is required but not set up. This occurs when the user hasn't enrolled in required MFA methods for their account.
- MfaRequiredException
- Exception thrown when MFA is required
- NotAuthenticatedException
- Exception thrown when an operation requires authentication but the user is not authenticated. This typically occurs when trying to access protected resources without valid credentials.
- OperationCanceledException
- Exception thrown when operation is canceled
- OtherException
- Exception thrown for other unspecified errors
- UnknownException
- Exception thrown for unknown errors