helpers/auth library

Classes

Auth
Authentication class Learn more: https://nylo.dev/docs/6.x/authentication

Mixins

HasApiService<T extends NyApiService>
HasApiService mixin

Functions

authAuthenticate({dynamic data}) → dynamic
Authenticate user
authData({String? key}) → dynamic
Get the user data
authDeviceId() Future<String?>
Get the device id
authIsAuthenticated() Future<bool>
Check if the user is authenticated
authKey() → dynamic
Get the auth key
authLogout() → dynamic
Logout user
authSyncToBackpack() → dynamic
Sync the auth user data to the backpack
authUpdate(dynamic update(dynamic data)) → dynamic
Update the auth user data