public interface IAuthenticationAPI
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
endSession(java.lang.String sID)
Ends the client session.
|
java.lang.String |
login(DSCredentials credentials)
Authenticate a user, and return a session ID (sID) to use in subsequent calls to other APIs.
|
java.lang.String |
loginPrimaryTenant(DSCredentials credentials)
Authenticate a primary tenant user, and return a session ID (sID) to use in subsequent calls to other APIs.
|
java.lang.String |
loginSSO(DSCredentials credentials)
Authenticate a user, and return a session token for UI Single Sign On.
|
java.lang.String |
signInAsTenant(java.lang.String tenantName,
java.lang.String sID)
SignIn as a tenant, and return a session ID (sID) to use in subsequent calls to other APIs.
|
java.lang.String loginPrimaryTenant(DSCredentials credentials) throws java.lang.Exception
Note: if your application uses both the SOAP web services API and the REST API, the same session ID can be used in both APIs; you do not need to log in separately to each API.
credentials - The credentials to use to authenticate.java.lang.Exceptionjava.lang.String login(DSCredentials credentials) throws java.lang.Exception
Note: if your application uses both the SOAP web services API and the REST API, the same session ID can be used in both APIs; you do not need to log in separately to each API.
credentials - The credentials to use to authenticate.java.lang.Exceptionjava.lang.String loginSSO(DSCredentials credentials) throws java.lang.Exception
Note: The session token can be used for UI Single Sign On only within a limited time.
credentials - The credentials to use to authenticate.java.lang.Exceptionjava.lang.String endSession(java.lang.String sID)
sID - session ID200 OK when the logout succeeds.
The returned string is purely informational and can be ignored.java.lang.String signInAsTenant(java.lang.String tenantName,
java.lang.String sID)
throws java.lang.Exception
Note: 1. SignIn as a tenant will not log out original session 2. if your application uses both the SOAP web services API and the REST API, the same session ID can be used in both APIs; you do not need to log in separately to each API.
tenantName - The tenant's namesID - primary tenant user session ID.java.lang.ExceptionCopyright © 2015 Trend Micro Inc. All Rights Reserved.