netlify_auth library
Classes
Constants
- defaultApiURL → const String
-
'/.netlify/identity'
- ExpiryMargin → const int
-
60 * 1000
-
forbiddenSaveAttributes
→ const Map<
String, int> -
{'api' : 1, 'fromStorage' : 1}
-
forbiddenUpdateAttributes
→ const Map<
String, int> -
{'api' : 1, 'token' : 1, 'audience' : 1, 'url' : 1}
- isBrowser → const bool
-
true
- refreshPromises → const Map
-
{}
- storageKey → const String
-
'gotrue.user'
Properties
- currentUser ↔ User?
-
read / write
- HTTPRegexp ↔ RegExp
-
read / write
- localStorage ↔ SharedPreferences
-
read / write
- ORIGINRegexp ↔ RegExp
-
read / write
Functions
- Initializes shared_preference
-
urlBase64Decode(
String str) → String