public class AuthenticationServiceRestClient extends AbstractProfileRestClientBase implements AuthenticationService
AuthenticationService.accessTokenIdResolver| Constructor and Description |
|---|
AuthenticationServiceRestClient() |
| Modifier and Type | Method and Description |
|---|---|
Ticket |
authenticate(String tenantName,
String username,
String password) |
PersistentLogin |
createPersistentLogin(String profileId) |
Ticket |
createTicket(String profileId) |
void |
deletePersistentLogin(String loginId) |
PersistentLogin |
getPersistentLogin(String loginId) |
Ticket |
getTicket(String ticketId) |
void |
invalidateTicket(String ticketId) |
PersistentLogin |
refreshPersistentLoginToken(String loginId) |
createBaseParams, doGetForObject, doGetForObject, doGetForObject, doGetForObject, doPostForLocation, doPostForObject, getAbsoluteUrlWithAccessTokenIdParam, handleException, handleRestServiceException, setAccessTokenIdResolverpublic Ticket authenticate(String tenantName, String username, String password) throws ProfileException
authenticate in interface AuthenticationServiceProfileExceptionpublic Ticket createTicket(String profileId) throws ProfileException
createTicket in interface AuthenticationServiceProfileExceptionpublic Ticket getTicket(String ticketId) throws ProfileException
getTicket in interface AuthenticationServiceProfileExceptionpublic void invalidateTicket(String ticketId) throws ProfileException
invalidateTicket in interface AuthenticationServiceProfileExceptionpublic PersistentLogin createPersistentLogin(String profileId) throws ProfileException
createPersistentLogin in interface AuthenticationServiceProfileExceptionpublic PersistentLogin getPersistentLogin(String loginId) throws ProfileException
getPersistentLogin in interface AuthenticationServiceProfileExceptionpublic PersistentLogin refreshPersistentLoginToken(String loginId) throws ProfileException
refreshPersistentLoginToken in interface AuthenticationServiceProfileExceptionpublic void deletePersistentLogin(String loginId) throws ProfileException
deletePersistentLogin in interface AuthenticationServiceProfileExceptionCopyright © 2015 CrafterCMS. All Rights Reserved.