Class SingleUserFileBasedAuthInfoStore

java.lang.Object
com.amilesend.onedrive.connection.auth.store.SingleUserFileBasedAuthInfoStore
All Implemented Interfaces:
AuthInfoStore

public class SingleUserFileBasedAuthInfoStore extends Object implements AuthInfoStore
A simple AuthInfoStore implementation that stores and retrieves user authentication information to the filesystem. This assumes a single user associated with the specified file path, which means that any provided keyed identifiers are ignored.
See Also:
  • Constructor Details

    • SingleUserFileBasedAuthInfoStore

      public SingleUserFileBasedAuthInfoStore(@NonNull Path stateFilePath)
      Creates a new SingleUserFileBasedAuthInfoStore instance.
      Parameters:
      stateFilePath - The path to save and read from.
  • Method Details