public static class Auth.TokenParams
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
capability
The capabilities associated with this Ably Token.
|
java.lang.String |
clientId
A client ID, used for identifying this client when publishing messages or for presence purposes.
|
long |
timestamp
The timestamp of this request as milliseconds since the Unix epoch.
|
long |
ttl
Requested time to live for the token in milliseconds.
|
| Constructor and Description |
|---|
TokenParams() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Param> |
asMap()
Internal; convert a TokenParams to a collection of Params
|
boolean |
equals(java.lang.Object obj)
Check equality of a TokenParams
|
public long ttl
Spec: RSA9e, TK2a
public java.lang.String capability
Spec: RSA9f, TK2b
public java.lang.String clientId
Spec: TK2c
public long timestamp
Spec: RSA9d, Tk2d
public java.util.Map<java.lang.String,Param> asMap()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj -