robe-auth/src/main/java/io/robe/auth/token/jersey/TokenBasedAuthResponseFilter.java
public static String getTokenSentence(BasicToken token) throws Exception {
        if (token == null)
            return tokenKey + "=" + cookieSentence;
        String sentence = tokenKey + "=" + token.getTokenString() + cookieSentence;
        //TODO: Learn how to calculate expire according to the browser time.
//        sentence = sentence.replace("{expireDate}", token.getExpirationDate().toGMTString());
        return sentence;
    }
public static String getTokenSentence(BasicToken token) throws Exception {
        if (token == null)
            return tokenKey + "=" + cookieSentence;
        String sentence = tokenKey + "=" + token.getTokenString() + cookieSentence;
        //TODO: Learn how to calculate expire according to the browser time.
//        sentence = sentence.replace("{expireDate}", token.getExpirationDate().toGMTString());
        return sentence;
    }
public static String getTokenSentence ( BasicToken token ) throws Exception { if ( token == null ) return tokenKey + "=" + cookieSentence ; String sentence = tokenKey + "=" + token . getTokenString ( ) + cookieSentence ; //TODO: Learn how to calculate expire according to the browser time. //        sentence = sentence.replace("{expireDate}", token.getExpirationDate().toGMTString()); return sentence ; }
Combines the token and cookie sentence

@param token
@return
Combines the token and cookie sentence