Class DbxStandardSessionStore

java.lang.Object
com.dropbox.core.DbxStandardSessionStore
All Implemented Interfaces:
DbxSessionStore

public final class DbxStandardSessionStore extends Object implements DbxSessionStore
A DbxSessionStore implementation that stores the value using the standard HttpSession interface from the Java Servlet API. Example:
 DbxWebAuth getDbxWebAuth(HttpServletRequest request)
 {
     HttpSession session = request.getSession(true);
     String key = "dropbox-auth-csrf-token";
     DbxSessionStore csrfStore = new DbxStandardSessionStore(session, key);
     return new DbxWebAuth(..., csrfStore);
 }
 
  • Constructor Details

    • DbxStandardSessionStore

      public DbxStandardSessionStore(jakarta.servlet.http.HttpSession session, String key)
  • Method Details