authgear library Null safety

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

Authgear
BiometricOptionsAndroid
BiometricOptionsIOS
PersistentTokenStorage
SessionStateChangeEvent
TokenStorage
TransientTokenStorage
UserInfo

Enums

AuthenticationPage
BiometricAccessConstraintAndroid
BiometricAccessConstraintIOS
ColorScheme
PromptOption
SessionState
SessionStateChangeReason
SettingsPage

Exceptions / Errors

AuthgearException
BiometricLockoutException
BiometricNoEnrollmentException
BiometricNoPasscodeException
BiometricNotSupportedOrPermissionDeniedException
BiometricPrivateKeyNotFoundException
CancelException
OAuthException
ServerException