Constructor and Description |
---|
AuthenticatedCredentials(KeyRing keyRing,
IndexedECPrivateKey signingKey,
String token,
org.threeten.bp.ZonedDateTime expiration)
Create the credentials for a user for a
Session . |
Modifier and Type | Method and Description |
---|---|
org.threeten.bp.ZonedDateTime |
getExpiration()
Get the expiration date for this authentication.
|
KeyRing |
getKeyRing()
Get the
KeyRing for this authentication. |
IndexedECPrivateKey |
getSigningKey()
Get the private signing key for this authentication.
|
String |
getToken()
Get the authentication token returned from Absio Broker™ application.
|
void |
setKeyRing(KeyRing keyRing)
Set the
KeyRing for this authentication. |
void |
setSigningKey(IndexedECPrivateKey signingKey)
Set the private signing key for this authentication.
|
public AuthenticatedCredentials(KeyRing keyRing, IndexedECPrivateKey signingKey, String token, org.threeten.bp.ZonedDateTime expiration)
Session
.keyRing
- the users KeyRing
signingKey
- the users private signing key - IndexedECPrivateKey
token
- the authentication token returned from Absio Broker™ applicationexpiration
- the time the authentication expirespublic org.threeten.bp.ZonedDateTime getExpiration()
public KeyRing getKeyRing()
KeyRing
for this authentication.KeyRing
for this authenticationpublic void setKeyRing(KeyRing keyRing)
KeyRing
for this authentication.keyRing
- the KeyRing
for this authenticationpublic IndexedECPrivateKey getSigningKey()
public void setSigningKey(IndexedECPrivateKey signingKey)
signingKey
- the private signing key for this authenticationpublic String getToken()
Copyright © 2021. All rights reserved.