Class TokenUtils
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.TokenUtil
-
- org.oa4mp.delegation.common.token.impl.TokenUtils
-
public class TokenUtils extends edu.uiuc.ncsa.security.core.util.TokenUtilUtilities for working with tokens.version 1 tokens
these are of the form:scheme + scheme specific part + //host / + component/ + uid/ + create timestampE.g. https://cilogon.org/oauth2/refreshToken/77e2b3dcc7934ffa455d7f49629bad61/1605827034976Version 2
These are of the form: scheme + scheme specific part + // + host / + version/ + component/ + uid/ + create timestamp/ + lifetime
E.g. https://cilogon.org/oauth2/v2.0/refreshToken/77e2b3dcc7934ffa455d7f49629bad61/1605827034976/1000000Created by Jeff Gaynor
on 11/24/20 at 9:37 AM
-
-
Constructor Summary
Constructors Constructor Description TokenUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringb32EncodeToken(Token token)static Stringb64EncodeToken(Token token)static voidmain(String[] args)
-