Socket
Book a DemoInstallSign in
Socket

@apimatic/oauth-adapters

Package Overview
Dependencies
Maintainers
5
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apimatic/oauth-adapters

This package provides pluggable adapters for OAuth 2.0 authentication schemes.

latest
Source
npmnpm
Version
0.4.16
Version published
Weekly downloads
27K
-2.78%
Maintainers
5
Weekly downloads
 
Created
Source

APIMatic OAuth Adapters Library for JavaScript SDKs

This package provides pluggable adapters for OAuth 2.0 authentication schemes.

The exported functionality includes:

  • Request Authentication Provider: Creates pluggable authentication interceptors for API requests, managing token usage, automatic token refresh, and setting authentication headers.
  • Token Validity Check: Checks whether the provided OAuth token is defined.
  • Token Expiration Validation: Determines whether the provided OAuth token is expired, with optional clock skew adjustment.

This library is used by JavaScript SDKs generated by the APIMatic Code Generator. For details on supported platforms and build artifacts, see the Build and Usage Section.

FAQs

Package last updated on 04 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts