All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.ksu.canvas.exception.InvalidOauthTokenException Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package edu.ksu.canvas.exception;

/**
 * Thrown if Canvas returns a 401 response with a WWW-Authenticate header present.
 * Sometimes this is just because the access token has expired and
 * needs to be refreshed. If this is the case, the exception will
 * be caught in the RefreshingRestClient class and handled. If this
 * exception makes it back up to the calling code, it probably means
 * that the user's refresh token (or the manually generated admin token)
 * is invalid.
 */
public class InvalidOauthTokenException extends CanvasException {
    private static final long serialVersionUID = 1L;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy