1.0.8 • Published 1 year ago

@jaliti/google-auth v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Google Auth

Generates access tokens to be used with Google's APIs such as Google Search Console and the Indexing endpoints.

Usage

import { SearchConsoleAuth } from "google-auth";
const serviceAccountEmail = "service-account@email.com";
const serviceAccountPrivateKey = "service-account-private-key";

const scAuth = new SearchConsoleAuth({
  email: serviceAccountEmail,
  privateKey: serviceAccountPrivateKey,
});

const token = scAuth.getAccessToken();

token.isValid();
token.validate();
1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago