@Api(allMethods=true)
public interface AuthenticationCache
| Modifier and Type | Method and Description |
|---|---|
Authentication[] |
getAuthentication(String token)
Get the authentication information for an authentication token.
|
void |
putAuthentication(String token,
Authentication[] authentications)
Put authentication information in the cache for a authentication token.
|
Authentication[] getAuthentication(String token)
Authentication
objects.
When one the the authentication objects is no longer valid, none should be returned (and data purged from cache).token - authentication tokenvoid putAuthentication(String token, Authentication[] authentications)
token - authentication tokenauthentications - authentication details or null (which purges the data for the token from the cache)Copyright © 2015 Geosparc. All Rights Reserved.