New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-battlenet-oauth

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-battlenet-oauth - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "express-battlenet-oauth",
"version": "0.0.1",
"version": "0.0.2",
"description": "OAuth Authentication for Battle.net (World of Warcraft, Starcraft 2 profiles) for ExpressJS",

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

@@ -42,3 +42,3 @@ express-battlenet-oauth

app.use('/', auth);
app.use('/', bnet);

@@ -82,4 +82,6 @@ //Setup your express app like normal

<td>LOGIN_SUCCESS</td>
<td>```function(req, res){ res.status(200).send('Use your own method to manipulate res.token_data,
currently: ' + JSON.stringify(res.token_data))}```</td>
<td>
function(req, res){ res.status(200).send('Use your own method to manipulate res.token_data,
currently: ' + JSON.stringify(res.token_data))}
</td>
<td>A function to handle a successful battle.net authentication, token data will be available at res.token_data</td>

@@ -89,3 +91,5 @@ </tr>

<td>LOGIN_FAILURE</td>
<td>```function(req, res){ res.status(500).send(res.error) }``</td>
<td>
function(req, res){ res.status(500).send(res.error) }
</td>
<td>A function to handle a failed battle.net authentication (use declined access, bnet server errors, invalid

@@ -92,0 +96,0 @@ grants, etc), error data will be available at res.error</td>

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