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

caccl-authorizer

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caccl-authorizer - npm Package Compare versions

Comparing version 1.0.39 to 1.0.40

4

index.js

@@ -22,2 +22,4 @@ const fs = require('fs');

const FIVE_MINS_MS = 300000;
/**

@@ -262,3 +264,3 @@ * Creates the HTML for a course chooser page

req.session.accessTokenExpiry
&& Date.now() < req.session.accessTokenExpiry
&& Date.now() < req.session.accessTokenExpiry - FIVE_MINS_MS
) {

@@ -265,0 +267,0 @@ // Not expired yet. Don't need to refresh

{
"name": "caccl-authorizer",
"version": "1.0.39",
"version": "1.0.40",
"description": "Acquires Canvas tokens through via OAuth, stores refresh tokens, and refreshes access tokens when they expire.",

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

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