public class MockOAuthManager extends BoxOAuthManagerImpl
| Modifier and Type | Field and Description |
|---|---|
static boolean |
refreshShouldFail |
| Constructor and Description |
|---|
MockOAuthManager() |
| Modifier and Type | Method and Description |
|---|---|
BoxOAuthToken |
createOAuth(BoxOAuthRequestObject requestObject) |
BoxOAuthToken |
refreshOAuth(BoxOAuthRequestObject requestObject) |
createOAuth, createOAuth, refreshOAuth, refreshOAuth, revokeOAuth, revokeOAuthexecuteRequestWithNoResponseBody, getAuth, getClassFromType, getConfig, getJSONParser, getResourceHub, getResponseAndParse, getResponseAndParseAndTryCast, getRestClient, tryCastBoxItem, tryCastObjectpublic BoxOAuthToken refreshOAuth(BoxOAuthRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
refreshOAuth in class BoxOAuthManagerImplBoxRestExceptionBoxServerExceptionAuthFatalFailureExceptionpublic BoxOAuthToken createOAuth(BoxOAuthRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
createOAuth in class BoxOAuthManagerImplBoxRestExceptionBoxServerExceptionAuthFatalFailureException