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

edu.ksu.canvas.interfaces.AuthenticationLogReader Maven / Gradle / Ivy

The newest version!
package edu.ksu.canvas.interfaces;

import edu.ksu.canvas.model.AuthenticationLog;

import java.io.IOException;
import java.util.Optional;

public interface AuthenticationLogReader extends CanvasReader {

    /**
     * Returns an authentication log.
     * @param accountId The account ID for the authentication log
     * @return An authentication log
     * @throws IOException When there is an error communicating with Canvas
     */
    Optional getAuthenticationLogForAccount(String accountId) throws IOException;

    /**
     * Returns an authentication log.
     * @param loginId The login ID for the authentication log
     * @return An authentication log
     * @throws IOException When there is an error communicating with Canvas
     */
    Optional getAuthenticationLogForLogin(String loginId) throws IOException;

    /**
     * Returns an authentication log.
     * @param userId The user ID for the authentication log
     * @return An authentication log
     * @throws IOException When there is an error communicating with Canvas
     */
    Optional getAuthenticationLogForUser(String userId) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy