wpAuth static method

dynamic wpAuth()

Authenticate a user if they are logged in

Implementation

static wpAuth() async {
  await Auth.loginModel(
      WPJsonAPI.storageKey(), (data) => WpUser.fromJson(data));
}