Simplifies authentication integration within APIMatic-generated .NET SDKs in C#. It guides developers through configuring credentials for Basic Auth, Bearer tokens, API keys, and various OAuth 2.0 grant types including Client Credentials and Authorization Code with PKCE. The skill provides clear patterns for token caching, automatic refresh logic, multi-scheme AND/OR composition, and troubleshooting 401 Unauthorized or 403 Forbidden errors during client setup and dependency injection.
主要功能
01Configures Basic, Bearer token, and API Key authentication in C# clients
02Integrates seamlessly with .NET Dependency Injection and IConfiguration sources
030 GitHub stars
04Manages automatic in-memory token caching, expiry tracking, and refresh cycles
05Supports composite security schemes with AND/OR logical evaluation
06Implements OAuth 2.0 Client Credentials, Password, and Authorization Code with PKCE
使用场景
01Wiring credentials into an APIMatic-generated C# client during application startup
02Diagnosing and resolving 401 Unauthorized or 403 Forbidden runtime API failures
03Implementing PKCE-enabled OAuth 2.0 authorization flows in desktop or web apps