Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@badgateway/oauth2-client

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@badgateway/oauth2-client - npm Package Compare versions

Comparing version 2.0.13 to 2.0.14

2

package.json
{
"name": "@badgateway/oauth2-client",
"version": "2.0.13",
"version": "2.0.14",
"description": "OAuth2 client for browsers and Node.js. Tiny footprint, PKCE support",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -6,3 +6,7 @@ # OAuth2 client for Node and browsers

This OAuth2 client is only **3KB** gzipped, it has **0** dependencies and
relies on modern APIs like `fetch()` and [Web Crypto][4] which are built in
Node 18 (but it works with Polyfills on Node 14 and 16).
## Highlights

@@ -32,3 +36,3 @@

```typescript
import { OAuth2Client } from 'fetch-mw-oauth2';
import { OAuth2Client } from '@badgateway/oauth2-client';

@@ -200,4 +204,2 @@ const client = new OAuth2Client({

);
const oauth2Token = await authorizationCode.getToken(codeResponse);
```

@@ -222,3 +224,3 @@

```typescript
import { OAuth2Client, OAuth2Fetch } from 'fetch-mw-oauth2';
import { OAuth2Client, OAuth2Fetch } from '@badgateway/oauth2-client';

@@ -343,3 +345,3 @@ const client = new OAuth2Client({

import { Client } from 'ketting';
import { OAuth2Client, OAuth2Fetch } from 'fetch-mw-oauth2';
import { OAuth2Client, OAuth2Fetch } from '@badgateway/oauth2-client';

@@ -379,3 +381,3 @@ /**

```typescript
import { OAuth2Client } from 'fetch-mw-oauth2';
import { OAuth2Client } from '@badgateway/oauth2-client';

@@ -442,1 +444,2 @@ const client = new Client({

[3]: https://datatracker.ietf.org/doc/html/rfc7662 "OAuth 2.0 Token Introspection"
[4]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API "Web Crypto API"
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc