Socket
Socket
Sign inDemoInstall

oauth-pkce

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

6

package.json
{
"name": "oauth-pkce",
"version": "0.0.3",
"version": "0.0.4",
"description": "OAUTH PKCE code_verifier and code_challenge generator",

@@ -15,2 +15,4 @@ "main": "./dist/index.js",

"code_verifier",
"IE11",
"IE 11",
"code_challenge"

@@ -69,3 +71,3 @@ ],

},
"gitHead": "beb798096052c1ecd60de13b0dee2ed44c4f91cf"
"gitHead": "0340937e58d17ee3f255e14f3bfbe796d44c6344"
}

@@ -27,4 +27,4 @@ # OAUTH PKCE code_verifier and code_challenge Generator for IE 11 and Modern Browsers

```JavaScript
import getPkce from 'oauth-pkce'
```javascript
import getPkce from 'oauth-pkce';

@@ -43,4 +43,4 @@ // create a verifier of 43 characters long

```JavaScript
<script src="https://cdn.jsdelivr.net/npm/oauth-pkce@0.0.2/dist/oauth-pkce.min.js" async defer></script>
```javascript
<script src="https://cdn.jsdelivr.net/npm/oauth-pkce@0.0.2/dist/oauth-pkce.min.js" async defer></script>;

@@ -56,3 +56,3 @@ getPkce(43, (error, { verifier, challenge }) => {

```JSX
```javascript
import React, { useEffect, useState } from 'react';

@@ -73,3 +73,5 @@ import getPkce from 'oauth-pkce';

return (
<div>{pkce.verifier} | {pkce.challenge}</div>
<div>
{pkce.verifier} | {pkce.challenge}
</div>
);

@@ -76,0 +78,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc