All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dropbox.core.InvalidAccessTokenException Maven / Gradle / Ivy

There is a newer version: 7.0.0
Show newest version
package com.dropbox.core;

import com.dropbox.core.v2.auth.AuthError;

/**
 * Gets thrown when the access token you're using to make API calls is invalid.
 *
 * 

* A more typical situation is that your access token was valid, but the * user has since "unlinked" your application via the Dropbox website * (http://www.dropbox.com/account#applications). * When a user unlinks your application, your access tokens for that user become * invalid. You can re-run the authorization process to obtain a new access token. *

*/ public class InvalidAccessTokenException extends DbxException { private static final long serialVersionUID = 0; private AuthError authError; public InvalidAccessTokenException(String requestId, String message, AuthError authError) { super(requestId, message); this.authError = authError; } public AuthError getAuthError() { return this.authError; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy