userfront_flutter library

@userfront/flutter: bindings for using Userfront for authentication and authorization in a Flutter app.

Classes

TokenStore
A utility class to store, retrieve, manipulate and check Userfront JWTs.
Userfront
A Flutter/Dart interface for Userfront.
UserfrontApi
A utility class to interface with the Userfront API while managing access token refresh.

Properties

stringToBase64 Codec<String, String>
final

Functions

isTokenLocallyValid(String? token) bool
Checks whether an encoded JWT token is locally valid, i.e. it is unexpired.
parseJwt(String token) Map<String, dynamic>
Extracts the JSON payload from an encoded JWT token