agave-apps/clients/AuthService.java
/**
	 * Expires the given token immediately from use throughout the API.
	 * 
	 * @param token AuthenticationToken to verify
	 * @return true if the AuthenticationToken is valid. false otherwise.
	 * @throws APIClientException
	 * @throws AuthenticationException
	 */
Expires the given token immediately from use throughout the API.

@param token AuthenticationToken to verify
@return true if the AuthenticationToken is valid. false otherwise.
Expires the given token immediately from use throughout the API . @param token AuthenticationToken to verify @return true if the AuthenticationToken is valid . false otherwise .
public void delete(AuthenticationToken token) 
	throws APIClientException, AuthenticationException
	{
		if (token == null) {
			throw new APIClientException("No token provided.");
		}
		try 
		{
			delete( Settings.SERVICE_BASE_URL + "auth-v1/" + token.getToken(), token );
		} 
		catch (APIClientException e) {
			throw new AuthenticationException("Error authenticating to service.", e);
		}
	}
public void delete ( AuthenticationToken token ) throws APIClientException , AuthenticationException { if ( token == null ) { throw new APIClientException ( "No token provided." ) ; } try { delete ( Settings . SERVICE_BASE_URL + "auth-v1/" + token . getToken ( ) , token ) ; } catch ( APIClientException e ) { throw new AuthenticationException ( "Error authenticating to service." , e ) ; } }
Expires the given token immediately from use throughout the API.
Expires the given token immediately from use throughout the API .