Socket
Socket
Sign inDemoInstall

airmap-auth

Package Overview
Dependencies
66
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

1

API.md

@@ -60,3 +60,2 @@ ## Modules

| options.language | <code>string</code> | Optional string. Language code for UI text. Defaults to `en`. |
| options.logo | <code>string</code> | Optional string. Defaults to AirMap logo. |
| options.onAuthenticated | <code>function</code> | Optional function. Function called when Auth Module successfully authenticates the user. Parameter passed to function is the resulting Authorization object. |

@@ -63,0 +62,0 @@

2

bower.json

@@ -26,3 +26,3 @@ {

],
"version": "2.0.0"
"version": "2.0.1"
}

@@ -5,2 +5,12 @@ # Change Log

<a name="2.0.1"></a>
## [2.0.1](https://github.com/airmap/js-auth/compare/v2.0.0...v2.0.1) (2018-05-22)
### Bug Fixes
* update jsonwebtoken due to security reasons ([e798cc0](https://github.com/airmap/js-auth/commit/e798cc0))
<a name="2.0.0"></a>

@@ -7,0 +17,0 @@ # [2.0.0](https://github.com/airmap/js-auth/compare/v1.5.2...v2.0.0) (2018-03-23)

@@ -34,3 +34,2 @@ 'use strict';

* @param {string} options.language Optional string. Language code for UI text. Defaults to `en`.
* @param {string} options.logo Optional string. Defaults to AirMap logo.
* @param {function} options.onAuthenticated Optional function. Function called when Auth Module successfully authenticates the user. Parameter passed to function is the resulting Authorization object.

@@ -261,3 +260,3 @@ * @returns {AirMapAuth}

language: 'en',
logo: 'https://cdn.airmap.io/img/login-logo.png',
logo: 'us',
onAuthenticated: function onAuthenticated(authResult) {

@@ -264,0 +263,0 @@ return null;

@@ -6,9 +6,8 @@ // Load the AirMapAuth constructor

// config is an object provided to the the AirMapAuth constructor
const config = {
// config settings from AirMap Developer Dashboard
}
// client_id: from the AirMap Developer Portal (https://dashboard.airmap.io/developer)
// callback_url: your callback url needs to be saved on the AirMap Developer Portal (https://dashboard.airmap.io/developer)
// const config = {
// // config settings from AirMap Developer Dashboard
// }
// autoLaunch: Optional boolean. Will check on pageload if user is authenticated. If not authenticated, the auth window will launch. Defaults to `false`.
// logo: Optional string. Defaults to AirMap logo.
// language: Optional string. Language code for UI text. Defaults to `en`.

@@ -18,3 +17,2 @@ // Additional options for AirMap Auth Module

autoLaunch: false,
logo: 'https://cdn.airmap.io/img/login-logo.png',
language: 'en'

@@ -21,0 +19,0 @@ }

{
"name": "airmap-auth",
"version": "2.0.0",
"version": "2.0.1",
"description": "Authenticate users with AirMap",

@@ -39,3 +39,3 @@ "author": "AirMap, Inc. <developers@airmap.com> (https://airmap.com)",

"auth0-js": "^9.3.2",
"jsonwebtoken": "^7.1.9"
"jsonwebtoken": "^8.2.1"
},

@@ -42,0 +42,0 @@ "devDependencies": {

@@ -31,3 +31,3 @@ 'use strict'

language: 'en',
logo: 'https://cdn.airmap.io/img/login-logo.png',
logo: 'us',
onAuthenticated: (authResult) => null

@@ -34,0 +34,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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