public class TokenProviderResponse extends Object
Constructor and Description |
---|
TokenProviderResponse() |
Modifier and Type | Method and Description |
---|---|
TokenReference |
getAttachedReference()
Get the attached TokenReference
|
Instant |
getCreated()
Get the Instant that this Token was Created
|
byte[] |
getEntropy()
Get the entropy associated with the token.
|
Instant |
getExpires()
Get the Instant that this Token expires
|
long |
getKeySize()
Get the KeySize that the TokenProvider set
|
Object |
getToken()
Get the token
|
String |
getTokenId()
Get the token Id
|
TokenReference |
getUnAttachedReference()
Get the unattached TokenReference
|
boolean |
isComputedKey()
Return true if the entropy represents a Computed Key.
|
void |
setAttachedReference(TokenReference attachedReference)
Set the attached TokenReference
|
void |
setComputedKey(boolean computedKey)
Set whether the entropy represents a Computed Key or not
|
void |
setCreated(Instant created)
Set the Instant that this Token was Created
|
void |
setEntropy(byte[] entropy)
Set the entropy associated with the token.
|
void |
setExpires(Instant expires)
Set the Instant that this Token expires
|
void |
setKeySize(long keySize)
Set the KeySize
|
void |
setToken(Object token)
Set the token
|
void |
setTokenId(String tokenId)
Set the token Id
|
void |
setUnattachedReference(TokenReference unattachedReference)
Set the unattached TokenReference
|
public boolean isComputedKey()
public void setComputedKey(boolean computedKey)
public long getKeySize()
public void setKeySize(long keySize)
public void setToken(Object token)
token
- the token to setpublic Object getToken()
public void setTokenId(String tokenId)
tokenId
- the token Idpublic String getTokenId()
public void setEntropy(byte[] entropy)
entropy
- the entropy associated with the token.public byte[] getEntropy()
public void setAttachedReference(TokenReference attachedReference)
attachedReference
- the attached TokenReferencepublic TokenReference getAttachedReference()
public void setUnattachedReference(TokenReference unattachedReference)
unattachedReference
- Set the unattached TokenReferencepublic TokenReference getUnAttachedReference()
public Instant getCreated()
public void setCreated(Instant created)
created
- the Instant that this Token was Createdpublic Instant getExpires()
public void setExpires(Instant expires)
expires
- the Instant that this Token expiresApache CXF