Package com.dropbox.core
Class DbxWebAuth.BadStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.dropbox.core.DbxWebAuth.Exception
-
- com.dropbox.core.DbxWebAuth.BadStateException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- DbxWebAuth
public static final class DbxWebAuth.BadStateException extends DbxWebAuth.Exception
Thrown if all the parameters to your redirect URI are well-formed, but there's no CSRF token in the session. This probably means that the user's session expired and they must restart the OAuth 2 process.IMPORTANT: The exception's message must not be shown the the user, but may be logged.
The recommended action is to redirect the user's browser to try the approval process again.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadStateException(java.lang.String message)
-