Class DbxWebAuth.BadStateException

All Implemented Interfaces:
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:
  • Constructor Details

    • BadStateException

      public BadStateException(String message)