///
/// HybridNitroGoogleSigninSpec.cpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

#include "HybridNitroGoogleSigninSpec.hpp"

namespace margelo::nitro::nitrogooglesignin {

  void HybridNitroGoogleSigninSpec::loadHybridMethods() {
    // load base methods/properties
    HybridObject::loadHybridMethods();
    // load custom methods/properties
    registerHybrids(this, [](Prototype& prototype) {
      prototype.registerHybridMethod("configure", &HybridNitroGoogleSigninSpec::configure);
      prototype.registerHybridMethod("checkPlayServices", &HybridNitroGoogleSigninSpec::checkPlayServices);
      prototype.registerHybridMethod("signIn", &HybridNitroGoogleSigninSpec::signIn);
      prototype.registerHybridMethod("createAccount", &HybridNitroGoogleSigninSpec::createAccount);
      prototype.registerHybridMethod("presentExplicitSignIn", &HybridNitroGoogleSigninSpec::presentExplicitSignIn);
      prototype.registerHybridMethod("requestScopes", &HybridNitroGoogleSigninSpec::requestScopes);
      prototype.registerHybridMethod("getCurrentUser", &HybridNitroGoogleSigninSpec::getCurrentUser);
      prototype.registerHybridMethod("getTokens", &HybridNitroGoogleSigninSpec::getTokens);
      prototype.registerHybridMethod("clearCachedAccessToken", &HybridNitroGoogleSigninSpec::clearCachedAccessToken);
      prototype.registerHybridMethod("signOut", &HybridNitroGoogleSigninSpec::signOut);
      prototype.registerHybridMethod("revokeAccess", &HybridNitroGoogleSigninSpec::revokeAccess);
    });
  }

} // namespace margelo::nitro::nitrogooglesignin
