java.lang.Object
org.yamcs.client.Credentials
Contains the authorization state for an identified user or service account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CredentialsfromJsonTokenResponse(String json) Returns a JSON string with the full unmodified token response.booleanvoidmodifyRequest(io.netty.handler.codec.http.HttpRequest request) voidsetSpnegoInfo(SpnegoInfo spnegoInfo)
-
Constructor Details
-
Credentials
-
-
Method Details
-
getTokenResponse
Returns a JSON string with the full unmodified token response. -
getAccessToken
-
getRefreshToken
-
getSpnegoInfo
-
setSpnegoInfo
-
isExpired
public boolean isExpired() -
modifyRequest
public void modifyRequest(io.netty.handler.codec.http.HttpRequest request) -
fromJsonTokenResponse
-