Stuart’s MATLAB Videos

Watch and Learn

Creating a Class to Generate a Non-Expiring Token: Part 1

I create a lot of code that reads and writes to our internal SharePoint file storage. To do that, it needs to use an authorization token. This token is time limited to an hour and sometimes that causes my code to fail when it expires. I want to create a more robust method of generating a token and my first idea is to create a class that will regenerate the token if it has or is about to expire.

Features covered in this code-along style video include:

  • classdef

Video Player is loading.
Current Time 0:00
Duration 18:31
Loaded: 0.89%
Stream Type LIVE
Remaining Time 18:31
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

    Play the video in full screen mode for a better viewing experience. 

    |
    • print

    Comments

    To leave a comment, please click here to sign in to your MathWorks Account or create a new one.

    Loading...
    Go to top of page