public class AuthenticationLogImpl extends BaseImpl<AuthenticationLog,AuthenticationLogReader,CanvasWriter> implements AuthenticationLogReader
apiVersion, canvasBaseUrl, canvasMessenger, masqueradeAs, masqueradeType, oauthToken, paginationPageSize, responseCallback, responseParser, serializeNulls| Constructor and Description |
|---|
AuthenticationLogImpl(String canvasBaseUrl,
Integer apiVersion,
OauthToken oauthToken,
RestClient restClient,
int connectTimeout,
int readTimeout,
Integer paginationPageSize,
Boolean serializeNulls) |
| Modifier and Type | Method and Description |
|---|---|
Optional<AuthenticationLog> |
getAuthenticationLogForAccount(String accountId)
Returns an authentication log.
|
Optional<AuthenticationLog> |
getAuthenticationLogForLogin(String loginId)
Returns an authentication log.
|
Optional<AuthenticationLog> |
getAuthenticationLogForUser(String userId)
Returns an authentication log.
|
protected Type |
listType() |
protected Class<AuthenticationLog> |
objectType() |
buildCanvasUrl, encode, getFromCanvas, getListFromCanvas, parseListOfResponses, readAsCanvasUser, readAsSisUser, withCallback, writeAsCanvasUser, writeAsSisUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadAsCanvasUser, readAsSisUser, withCallbackpublic AuthenticationLogImpl(String canvasBaseUrl, Integer apiVersion, OauthToken oauthToken, RestClient restClient, int connectTimeout, int readTimeout, Integer paginationPageSize, Boolean serializeNulls)
public Optional<AuthenticationLog> getAuthenticationLogForAccount(String accountId) throws IOException
AuthenticationLogReadergetAuthenticationLogForAccount in interface AuthenticationLogReaderaccountId - The account ID for the authentication logIOException - When there is an error communicating with Canvaspublic Optional<AuthenticationLog> getAuthenticationLogForLogin(String loginId) throws IOException
AuthenticationLogReadergetAuthenticationLogForLogin in interface AuthenticationLogReaderloginId - The login ID for the authentication logIOException - When there is an error communicating with Canvaspublic Optional<AuthenticationLog> getAuthenticationLogForUser(String userId) throws IOException
AuthenticationLogReadergetAuthenticationLogForUser in interface AuthenticationLogReaderuserId - The user ID for the authentication logIOException - When there is an error communicating with Canvasprotected Type listType()
listType in class BaseImpl<AuthenticationLog,AuthenticationLogReader,CanvasWriter>protected Class<AuthenticationLog> objectType()
objectType in class BaseImpl<AuthenticationLog,AuthenticationLogReader,CanvasWriter>Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.