APIMatic Authentication Adapters Library for JavaScript SDKs
This package provides pluggable adapters for different authentication schemes.
The exported functionality includes:
- Basic Authentication: Username and password authentication with automatic Base64 encoding.
- API Key Authentication: Support for API keys via headers or query parameters.
- Access Token Authentication: Bearer token authentication suitable for OAuth and similar token schemes.
- Custom Query Authentication: Custom query parameter authentication with configurable parameter names.
- Custom Header Authentication: Custom header authentication with configurable header names.
- Composite Authentication: Support for complex authentication schemes with AND/OR logic combinations.
- No Authentication: Pass-through adapter for endpoints that do not require authentication.
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.