Interface AuthenticationWebService

All Superinterfaces:
WebService
All Known Implementing Classes:
AuthenticationRetrofitWebService

public interface AuthenticationWebService extends WebService
Available methods for the Authentication Web Service.
Since:
1/6/15
  • Method Details

    • loginUserWithAuthenticationHeader

      void loginUserWithAuthenticationHeader(String authenticationHeader, WebServiceResponseHandler<User> responseHandler)
      Method to log in a user on the exxtractor
      Parameters:
      authenticationHeader - the authentication header that must be used
      responseHandler - handler to check the request status
    • loginOperatorWithAuthenticationHeader

      void loginOperatorWithAuthenticationHeader(String authenticationHeader, WebServiceResponseHandler<Token> responseHandler)
      Method to log in a operator on the exxtractor
      Parameters:
      authenticationHeader - the authentication header that must be used
      responseHandler - handler to check the request status
    • logOutSession

      void logOutSession(String token, WebServiceResponseHandler<retrofit.client.Response> handler)
      Method that will logout the user and close the session with the current token from the exxtractor.
      Parameters:
      token - the token that will be used logged out
      handler - the handler for the request status
    • logOutUser

      void logOutUser(String token, WebServiceResponseHandler<retrofit.client.Response> handler)
      Method that will log out the user from the exxtractor
      Parameters:
      token - the token that will be logged out
      handler - the handler for the request status