
public class JsonWebToken<T> extends Object implements TypeSafeToken<T>
| Constructor and Description | 
|---|
| JsonWebToken(TypeSafeToken<T> token,
            cn.home1.oss.lib.common.crypto.Jwt jwt,
            int maxAge) | 
public JsonWebToken(TypeSafeToken<T> token, cn.home1.oss.lib.common.crypto.Jwt jwt, int maxAge)
public String toToken(T obj)
toToken in interface TypeSafeToken<T>public T fromToken(String compactJws)
fromToken in interface TypeSafeToken<T>Copyright © 2017. All rights reserved.