Class Utils
- java.lang.Object
-
- org.gcube.contentmanager.storageserver.utils.Utils
-
public class Utils extends Object
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetTokenFromJson(org.gcube.oidc.rest.JWTToken jwtToken)static org.gcube.oidc.rest.JWTTokensetToken(URL oidcAddress, String clientId, String secret)
-
-
-
Method Detail
-
setToken
public static org.gcube.oidc.rest.JWTToken setToken(URL oidcAddress, String clientId, String secret) throws org.gcube.oidc.rest.OpenIdConnectRESTHelperException
- Throws:
org.gcube.oidc.rest.OpenIdConnectRESTHelperException
-
getTokenFromJson
public static String getTokenFromJson(org.gcube.oidc.rest.JWTToken jwtToken)
-
-