| Package | Description |
|---|---|
| com.box.boxjavalibv2.requests | |
| com.box.boxjavalibv2.requests.requestobjects | |
| com.box.boxjavalibv2.resourcemanagers |
| Constructor and Description |
|---|
CreateOAuthRequest(IBoxConfig config,
IBoxJSONParser parser,
BoxOAuthRequestObject requestObject)
Constructor.
|
RefreshOAuthRequest(IBoxConfig config,
IBoxJSONParser parser,
BoxOAuthRequestObject requestObject)
Constructor.
|
RevokeOAuthRequest(IBoxConfig config,
IBoxJSONParser parser,
BoxOAuthRequestObject requestObject) |
| Modifier and Type | Method and Description |
|---|---|
static BoxOAuthRequestObject |
BoxOAuthRequestObject.createOAuthRequestObject(String code,
String clientId,
String clientSecret,
String redirectUrl)
Request object to create OAUth.
|
static BoxOAuthRequestObject |
BoxOAuthRequestObject.refreshOAuthRequestObject(String refreshToken,
String clientId,
String clientSecret) |
static BoxOAuthRequestObject |
BoxOAuthRequestObject.revokeOAuthRequestObject(String revokeToken,
String clientId,
String clientSecret)
Request object to revoke OAuth.
|
BoxOAuthRequestObject |
BoxOAuthRequestObject.setAuthCode(String code) |
BoxOAuthRequestObject |
BoxOAuthRequestObject.setClient(String clientId,
String clientSecret) |
BoxOAuthRequestObject |
BoxOAuthRequestObject.setRedirectUrl(String redirectUrl) |
BoxOAuthRequestObject |
BoxOAuthRequestObject.setRefreshToken(String refreshToken) |
BoxOAuthRequestObject |
BoxOAuthRequestObject.setRevokeToken(String token)
Set the token to revoke.
|
| Modifier and Type | Method and Description |
|---|---|
BoxOAuthToken |
BoxOAuthManager.createOAuth(BoxOAuthRequestObject requestObject)
Create an OAuth token.
|
BoxOAuthToken |
BoxOAuthManager.refreshOAuth(BoxOAuthRequestObject requestObject)
Refresh the OAuth token.
|
void |
BoxOAuthManager.revokeOAuth(BoxOAuthRequestObject requestObject) |
Copyright © 2014. All Rights Reserved.