public class Token extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Token.Builder |
static class |
Token.Items |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
create
Token create时间
|
String |
id
Token id
|
String |
token
Token token
|
String |
type
Token type
|
| 构造器和说明 |
|---|
Token() |
public String id
public String token
public String type
@SerializedName(value="created_at",
alternate="create")
public String create
public static boolean check(Client client, String id, String secret) throws BytomException
client - clientid - idsecret - secretBytomException - Exceptionpublic static boolean delete(Client client, String id) throws BytomException
client - clientid - idBytomException - Exceptionpublic static Token.Items list(Client client) throws BytomException
client - clientBytomException - ExceptionCopyright © 2018. All rights reserved.