Modifier and Type | Method and Description |
---|---|
protected IBoxRequestAuth |
BoxClient.createAuthorization(IAuthDataController controller)
From auth data controller, generate IBoxRequestAuth, which can be applied to api requests.
|
IBoxRequestAuth |
BoxClient.getAuth()
Get the auth object used to make api calls.
|
IBoxRequestAuth |
BoxClient.getSharedItemAuth(java.lang.String sharedLink,
java.lang.String password)
Get the authorization needed for shared items.
|
Modifier and Type | Class and Description |
---|---|
class |
OAuthAuthorization
This is authorization class for API requests using OAuth.
|
class |
SharedItemAuth
Class implementing the shared item authorization used to make api calls on shared link items.
|
class |
SharedLinkAuthorization
Shared link authorization.
|
Modifier and Type | Method and Description |
---|---|
void |
BoxFileDownload.execute(IBoxRequestAuth auth,
java.io.File destination,
IBoxJSONParser parser,
BoxDefaultRequestObject requestObject)
Execute a download.
|
java.io.InputStream |
BoxFileDownload.execute(IBoxRequestAuth auth,
IBoxJSONParser parser,
BoxDefaultRequestObject requestObject)
Execute the download and return the raw InputStream.
|
void |
BoxFileDownload.execute(IBoxRequestAuth auth,
java.io.OutputStream[] outputStreams,
IBoxJSONParser parser,
BoxDefaultRequestObject requestObject)
Execute a download.
|
Modifier and Type | Method and Description |
---|---|
IBoxRequestAuth |
AbstractBoxResourceManager.getAuth() |
Modifier and Type | Method and Description |
---|---|
IBoxResourceManager |
IPluginResourceManagerBuilder.build(IBoxConfig config,
IBoxResourceHub resourceHub,
IBoxJSONParser parser,
IBoxRequestAuth auth,
IBoxRESTClient restClient) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultAuthHeaderAuth
Auth to be set in http request header.
|
class |
DefaultRequestAuth
Base class for default Auth to be used for DefaultBoxRequest.
|
class |
DefaultUsernamePasswordAuth
Auth for username/password.
|
Modifier and Type | Method and Description |
---|---|
IBoxRequestAuth |
IBoxRequest.getAuth()
Auth.
|
IBoxRequestAuth |
DefaultBoxRequest.getAuth() |
Modifier and Type | Method and Description |
---|---|
void |
IBoxRequest.setAuth(IBoxRequestAuth auth)
Set authorization.
|
void |
DefaultBoxRequest.setAuth(IBoxRequestAuth auth) |