Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 333 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 333 Bytes

snackk-web-api-token

require

  • jquery-cookie

not amd

window.snackkModule.token

functions

token:

  • getAccessToken : get access-token from cookie
  • getRefreshToken : get refresh-token from cookie
  • setToken : set access-token and refresh-token to cookie

sid:

  • generateSid
  • getSid : get sid