public StorageRef isAuthenticated ( String authenticationToken , OnBooleanResponse onBooleanResponse , OnError onError ) { PostBodyBuilder pbb = new PostBodyBuilder ( context ) ; Rest r = new Rest ( context , RestType . ISAUTHENTICATED , pbb , null ) ; r . onError = onError ; r . onBooleanResponse = onBooleanResponse ; r . rawBody = "{\"applicationKey\":\"" + context . applicationKey + "\", \"authenticationToken\":\"" + authenticationToken + "\"}" ; context . processRest ( r ) ; return this ; }
Checks if a specified authentication token is authenticated .