WooAuthenticationApi extension

on

Methods

changePassword(String password) Future<void>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

createUserToken({required String userName, required String password}) Future<Map<String, dynamic>>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

deleteAccount(int userId) Future<bool>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

forgotPassword(String email) Future<({String code, int userId})>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

getUserId({required String token}) Future<int>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

getUserInfo(String email) Future<WooCustomer?>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

login(String email, String password) Future<int>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

register(WooCustomer customer) Future<WooCustomer>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

updateCustomer(WooCustomer user) Future<WooCustomer?>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

verifyUserToken({required String token}) Future<bool>

Available on FlutterWooCommerce, provided by the WooAuthenticationApi extension

/////////////////////////////////////////////////////////////////////////