public class GCubeSecret
extends org.gcube.common.security.secrets.Secret
| Modifier and Type | Field and Description |
|---|---|
static String |
GCUBE_TOKEN_REGEX |
| Constructor and Description |
|---|
GCubeSecret(String gcubeToken) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContext() |
Map<String,String> |
getHTTPAuthorizationHeaders() |
org.gcube.common.security.Owner |
getOwner() |
boolean |
isExpired() |
public static final String GCUBE_TOKEN_REGEX
public GCubeSecret(String gcubeToken)
public org.gcube.common.security.Owner getOwner()
getOwner in class org.gcube.common.security.secrets.Secretpublic String getContext()
getContext in class org.gcube.common.security.secrets.Secretpublic Map<String,String> getHTTPAuthorizationHeaders()
getHTTPAuthorizationHeaders in class org.gcube.common.security.secrets.Secretpublic boolean isExpired()
isExpired in class org.gcube.common.security.secrets.SecretCopyright © 2022. All Rights Reserved.