public class ContextUtility extends Object
| Constructor and Description |
|---|
ContextUtility() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.common.authorization.library.provider.ClientInfo |
getClientInfo() |
static String |
getCurrentContext() |
static String |
getCurrentContext(String token) |
static void |
setContext(String token) |
public static String getCurrentContext()
public static String getCurrentContext(String token) throws org.gcube.common.authorization.client.exceptions.ObjectNotFound, Exception
org.gcube.common.authorization.client.exceptions.ObjectNotFoundExceptionpublic static void setContext(String token) throws org.gcube.common.authorization.client.exceptions.ObjectNotFound, Exception
org.gcube.common.authorization.client.exceptions.ObjectNotFoundExceptionpublic static org.gcube.common.authorization.library.provider.ClientInfo getClientInfo()
Copyright © 2021. All Rights Reserved.