Package com.logicaldoc.webservice.soap
Interface AuthService
- All Known Implementing Classes:
- RestAuthService,- RestAuthSwagger,- SoapAuthClient,- SoapAuthService
public interface AuthService
Auth Web Service definition interface
- Since:
- 5.2
- Author:
- Matteo Caruso - LogicalDOC
- 
Method Summary
- 
Method Details- 
loginStarts a new session.- Parameters:
- username- The username
- password- The password
- Returns:
- The newly created session identifier(sid)
- Throws:
- AuthenticationException- the user was not authenticated
 
- 
loginApiKeyStarts a new session.- Parameters:
- apiKey- The API Key
- Returns:
- The newly created session identifier(sid)
- Throws:
- AuthenticationException- the user was not authenticated
 
- 
logoutCloses a session.- Parameters:
- sid- identifier of the session or an API Key
 
- 
validChecks if a SID is valid- Parameters:
- sid- identifier of the session or an API Key
- Returns:
- if the session is valid
 
- 
renewRenews a session- Parameters:
- sid- identifier of the session or an API Key
 
 
-