flutter_authgear library
Authgear Flutter SDK.
To get started, create an instance of Authgear. You should use a single instance throughout the app.
The session state could change at any given time, subscribe to Authgear.onSessionStateChange to listen for any state change event.
Use Authgear.authenticate to authenticate the end user.
Use Authgear.open to open the settings page to let the end-user to manage their account settings.
Use Authgear.wrapHttpClient to make a Client capable of injecting access token into Authorization header.
Classes
- AuthenticateRequest
- Authgear
- AuthgearExperimental
- BiometricOptionsAndroid
- BiometricOptionsIOS
- DeviceBrowserUIImplementation
- PersistentTokenStorage
- SessionStateChangeEvent
- TokenStorage
- TransientTokenStorage
- UIImplementation
- UserInfo
- WebKitWebViewUIImplementation
- WebKitWebViewUIImplementationOptions
- WebKitWebViewUIImplementationOptionsAndroid
- WebKitWebViewUIImplementationOptionsIOS
Enums
Exceptions / Errors
- AuthgearException
- BiometricLockoutException
- BiometricNoEnrollmentException
- BiometricNoPasscodeException
- BiometricNotSupportedOrPermissionDeniedException
- BiometricPrivateKeyNotFoundException
- CancelException
- OAuthException
- PreAuthenticatedURLDeviceSecretNotFoundError
- PreAuthenticatedURLIDTokenNotFoundError
- PreAuthenticatedURLInsufficientScopeError
- PreAuthenticatedURLNotAllowedError
- ServerException