edu.ksu.canvas.interfaces.LoginReader 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
package edu.ksu.canvas.interfaces;
import edu.ksu.canvas.model.Login;
import java.io.IOException;
import java.util.List;
public interface LoginReader extends CanvasReader {
/**
* Retrieve a user's logins.
* @param userId the id of the user to retrieve logins for
* @return List of the user's logins
* @throws IOException When there is an error communicating with Canvas
*/
public List getLoginForUser(String userId) throws IOException;
}