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
-
login
Starts a new session.- Parameters:
username
- The usernamepassword
- The password- Returns:
- The newly created session identifier(sid)
- Throws:
AuthenticationException
- the user was not authenticated
-
logout
Closes a session.- Parameters:
sid
- The session identifier
-
valid
Checks if a SID is valid- Parameters:
sid
- identifier of the session- Returns:
- if the session is valid
-
renew
Renews a session- Parameters:
sid
- identifier of the session
-