public class Session extends Object
AuthenticatedCredentials when a user is authenticated.| Constructor and Description |
|---|
Session(IRestClient restClient)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticatedCredentials |
getCredentials()
Get the authenticated credentials of a user authenticated on the REST client.
|
IRestClient |
getRestClient()
Get the
IRestClient for the session. |
void |
setCredentials(AuthenticatedCredentials credentials)
Set the authenticated credentials of a user authenticated on the REST client.
|
void |
setKeyRing(KeyRing keyRing)
Sets the user's
KeyRing on the session's AuthenticatedCredentials. |
public Session(IRestClient restClient)
restClient - the rest client for the sessionpublic AuthenticatedCredentials getCredentials()
public void setCredentials(AuthenticatedCredentials credentials)
credentials - the authenticated credentials of a user authenticated on the REST clientpublic IRestClient getRestClient()
IRestClient for the session.IRestClient for the sessionpublic void setKeyRing(KeyRing keyRing)
KeyRing on the session's AuthenticatedCredentials.keyRing - the user's key ring.Copyright © 2021. All rights reserved.