1.0.8 • Published 11 months ago

@jaliti/google-auth v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months 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

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago