public class AccessTokenSecret
extends org.gcube.common.security.secrets.Secret
| Constructor and Description |
|---|
AccessTokenSecret(String encodedAccessToken) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContext() |
protected String |
getEncodedAccessToken() |
Map<String,String> |
getHTTPAuthorizationHeaders() |
org.gcube.common.security.Owner |
getOwner() |
boolean |
isExpired() |
public AccessTokenSecret(String encodedAccessToken)
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.Secretprotected String getEncodedAccessToken()
public boolean isExpired()
isExpired in class org.gcube.common.security.secrets.SecretCopyright © 2022. All Rights Reserved.