1.0.8 • Published 10 months ago

@jaliti/google-auth v1.0.8

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

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago