caccl-authorizer
Advanced tools
Comparing version 1.0.39 to 1.0.40
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87429
2015