Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

caccl-authorizer

harvard-edtech847MIT2.3.3TypeScript support: included

Acquires Canvas tokens through via OAuth, stores refresh tokens, and refreshes access tokens when they expire.

Canvas, CACCL, Token, Access, Token, Refresh, Token, OAuth

readme

caccl-authorizer

Handles app authorization, redirecting users to the "Authorize this App" page, acquiring access tokens, and refreshing access tokens when they expire.

Part of the CACCL library

C*anvas
*
A
pp
C*omplete
*
C
onnection
Library

changelog

Changelog

All notable changes to this project will be documented in this file.

1.1.0

Major breaking authorization change: instead of accessTokens being stored in the user's session, they are stored in the tokenStore. This means two things: first, that CACCL now supports users being logged into your app in more than one session, and second, that tokenStores must be able to store slightly larger payloads (instead of just the refreshToken, we are now also storing accessToken and expiry timestamp).