1.0.8 • Published 2 years ago

@jaliti/google-auth v1.0.8

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

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago