gluu
|
公開メンバ関数 | |
ToopherAPI (String consumerKey, String consumerSecret) | |
PairingStatus | pair (String pairingPhrase, String userName) throws RequestError |
PairingStatus | getPairingStatus (String pairingRequestId) throws RequestError |
AuthenticationStatus | authenticate (String pairingId, String terminalName) throws RequestError |
AuthenticationStatus | authenticate (String pairingId, String terminalName, String actionName) throws RequestError |
AuthenticationStatus | getAuthenticationStatus (String authenticationRequestId) throws RequestError |
静的公開変数類 | |
static final String | VERSION = "1.0.0" |
非公開メンバ関数 | |
JSONObject | get (String endpoint) throws Exception |
JSONObject | post (String endpoint, List< NameValuePair > params) throws Exception |
非公開変数類 | |
final HttpClient | httpClient |
final OAuthConsumer | consumer |
静的非公開変数類 | |
static ResponseHandler< JSONObject > | jsonHandler |
static final String | URI_SCHEME = "https" |
static final String | URI_HOST = "api.toopher.com" |
static final String | URI_BASE = "/v1/" |
A Java binding for the Toopher API
|
inline |
Create an API object with the supplied credentials
consumerKey | The consumer key for a requester (obtained from the developer portal) |
consumerSecret | The consumer secret for a requester (obtained from the developer portal) |
|
inline |
Initiate a login authentication request
pairingId | The pairing id indicating to whom the request should be sent |
terminalName | The user-facing descriptive name for the terminal from which the request originates |
RequestError | Thrown when an exceptional condition is encountered |
|
inline |
Initiate an authentication request
pairingId | The pairing id indicating to whom the request should be sent |
terminalName | The user-facing descriptive name for the terminal from which the request originates |
actionName | The user-facing descriptive name for the action which is being authenticated |
RequestError | Thrown when an exceptional condition is encountered |
|
inlineprivate |
|
inline |
Retrieve status information for an authentication request
authenticationRequestId | The authentication request ID |
RequestError | Thrown when an exceptional condition is encountered |
|
inline |
Retrieve the current status of a pairing request
pairingRequestId | The unique id for a pairing request |
RequestError | Thrown when an exceptional condition is encountered |
|
inline |
Create a pairing
pairingPhrase | The pairing phrase supplied by the user |
userName | A user-facing descriptive name for the user (displayed in requests) |
RequestError | Thrown when an exceptional condition is encountered |
|
inlineprivate |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
The ToopherJava binding library version