org.semispace.ws
Interface TokenAuthenticator
- All Known Implementing Classes: 
- GoogleSpaceAuthenticator, TokenFromSpaceAuthenticator
- public interface TokenAuthenticator 
Authenticator for token login.
 
authenticate
String authenticate(String username,
                    String password)
- Generate a token based on the username / password. This
 will typically be performed as query on a member 
 database, or as a question upon the space.
 
- 
 
isTokenValid
boolean isTokenValid(String token)
- 
- Returns:
- True if the token is valid, false otherwise
 
Copyright © 2008-2012. All Rights Reserved.