edu.ksu.canvas.oauth.NonRefreshableOauthToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canvas-api Show documentation
Show all versions of canvas-api Show documentation
A native Java library to talk to the Canvas REST API
The newest version!
package edu.ksu.canvas.oauth;
public class NonRefreshableOauthToken implements OauthToken {
private static final long serialVersionUID = 1L;
private String token;
public NonRefreshableOauthToken(String token) {
this.token = token;
}
@Override
public String getAccessToken() {
return token;
}
@Override
public void refresh() { }
}