public class KeyInfo
extends java.lang.Object
implements java.io.Serializable
Key info class
Modifier and Type | Class and Description |
---|---|
static class |
KeyInfo.ClientType
The client type requested by Key
|
static class |
KeyInfo.KeyType |
Modifier and Type | Field and Description |
---|---|
KeyInfo.ClientType |
clientType
Accesses the service client type
|
int |
id
Key ID
|
java.lang.String |
key
The Key random code corresponding to this service instance
|
KeyInfo.KeyType |
keyType
key type.
|
java.lang.String |
limitation
Allows to access the restrict string of this service instance.
|
java.lang.String |
name
Key name
|
java.lang.String |
serviceIds
Alllows all service id
|
java.lang.String |
userName
Creates the Key username
|
Constructor and Description |
---|
KeyInfo() |
public int id
Key ID
The parameters created by the server
public java.lang.String key
The Key random code corresponding to this service instance
The parameters created by the server
public java.lang.String name
public KeyInfo.KeyType keyType
KeyInfo.KeyType
public java.lang.String userName
Creates the Key username
public java.lang.String serviceIds
Alllows all service id
public KeyInfo.ClientType clientType
public java.lang.String limitation
Allows to access the restrict string of this service instance. The restrictions are different in the different clients.
Service request: Request source IP address
Web: source stop referer
Mobile: Mobile id