public interface MyAuthService
extends net.avcompris.commons3.core.AuthService
Modifier and Type | Method and Description |
---|---|
net.avcompris.commons3.api.UserSession |
authenticate(String correlationId,
String username,
String password) |
net.avcompris.commons3.api.User |
getAuthenticatedUser(String authorization,
String userSessionId) |
net.avcompris.commons3.api.UserSession |
getMySession(String correlationId,
net.avcompris.commons3.api.User user,
String userSessionId) |
net.avcompris.commons3.api.UserSession |
getUserSession(String correlationId,
net.avcompris.commons3.api.User user,
String userSessionId) |
net.avcompris.commons3.api.UserSessions |
getUserSessions(String correlationId,
net.avcompris.commons3.api.User user,
net.avcompris.commons3.api.UserSessionsQuery query) |
void |
setLastActiveAt(String correlationId,
net.avcompris.commons3.api.User user) |
net.avcompris.commons3.api.UserSession |
terminateMySession(String correlationId,
net.avcompris.commons3.api.User user,
String userSessionId) |
net.avcompris.commons3.api.UserSession |
terminateUserSession(String correlationId,
net.avcompris.commons3.api.User user,
String userSessionId) |
net.avcompris.commons3.api.UserSessionsQuery |
validateUserSessionsQuery(String correlationId,
net.avcompris.commons3.api.User user,
String q,
String sort,
Integer start,
Integer limit,
String expand) |
@Nullable net.avcompris.commons3.api.UserSessionsQuery validateUserSessionsQuery(String correlationId, net.avcompris.commons3.api.User user, @Nullable String q, @Nullable String sort, @Nullable Integer start, @Nullable Integer limit, @Nullable String expand) throws net.avcompris.commons3.api.exception.ServiceException
validateUserSessionsQuery
in interface net.avcompris.commons3.core.AuthService
net.avcompris.commons3.api.exception.ServiceException
net.avcompris.commons3.api.UserSessions getUserSessions(String correlationId, net.avcompris.commons3.api.User user, @Nullable net.avcompris.commons3.api.UserSessionsQuery query) throws net.avcompris.commons3.api.exception.ServiceException
getUserSessions
in interface net.avcompris.commons3.core.AuthService
net.avcompris.commons3.api.exception.ServiceException
@Nullable net.avcompris.commons3.api.User getAuthenticatedUser(@Nullable String authorization, @Nullable String userSessionId) throws net.avcompris.commons3.api.exception.ServiceException
getAuthenticatedUser
in interface net.avcompris.commons3.core.AuthService
net.avcompris.commons3.api.exception.ServiceException
@Nullable net.avcompris.commons3.api.UserSession authenticate(String correlationId, String username, String password) throws net.avcompris.commons3.api.exception.ServiceException
authenticate
in interface net.avcompris.commons3.core.AuthService
net.avcompris.commons3.api.exception.ServiceException
void setLastActiveAt(String correlationId, net.avcompris.commons3.api.User user) throws net.avcompris.commons3.api.exception.ServiceException
setLastActiveAt
in interface net.avcompris.commons3.core.AuthService
net.avcompris.commons3.api.exception.ServiceException
net.avcompris.commons3.api.UserSession getUserSession(String correlationId, net.avcompris.commons3.api.User user, String userSessionId) throws net.avcompris.commons3.api.exception.ServiceException
getUserSession
in interface net.avcompris.commons3.core.AuthService
net.avcompris.commons3.api.exception.ServiceException
net.avcompris.commons3.api.UserSession terminateUserSession(String correlationId, net.avcompris.commons3.api.User user, String userSessionId) throws net.avcompris.commons3.api.exception.ServiceException
terminateUserSession
in interface net.avcompris.commons3.core.AuthService
net.avcompris.commons3.api.exception.ServiceException
net.avcompris.commons3.api.UserSession getMySession(String correlationId, net.avcompris.commons3.api.User user, String userSessionId) throws net.avcompris.commons3.api.exception.ServiceException
getMySession
in interface net.avcompris.commons3.core.AuthService
net.avcompris.commons3.api.exception.ServiceException
net.avcompris.commons3.api.UserSession terminateMySession(String correlationId, net.avcompris.commons3.api.User user, String userSessionId) throws net.avcompris.commons3.api.exception.ServiceException
terminateMySession
in interface net.avcompris.commons3.core.AuthService
net.avcompris.commons3.api.exception.ServiceException
Copyright © 2021 Avantage Compris. All rights reserved.