{"library":"grpc-node-oauth2","type":"library","category":null,"description":"gRPC interceptor for OAuth 2.0 client credentials flow in Node.js. Current version is 1.2.0. This library provides a gRPC interceptor that automatically manages OAuth 2.0 token acquisition, caching, and refresh, attaching the token as a metadata bearer token. It integrates with @grpc/grpc-js and supports TypeScript. Unlike manual token management, it handles retries and token expiry transparently. It is lightweight, with no other runtime dependencies beyond the gRPC library.","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install grpc-node-oauth2","imports":["import { createInterceptor } from 'grpc-node-oauth2'","import { InterceptorOptions } from 'grpc-node-oauth2'"]},{"cmd":"yarn add grpc-node-oauth2","imports":[]},{"cmd":"pnpm add grpc-node-oauth2","imports":[]}],"homepage":"https://github.com/entwico/grpc-node-oauth2#readme","github":"https://github.com/entwico/grpc-node-oauth2","docs":null,"changelog":null,"pypi":null,"npm":"grpc-node-oauth2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}