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.