Interface IAuthStore


public interface IAuthStore
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a list of all the tokens stored in the auth store.
    void
     
    void
    storeToken(String clientId, String description, User owner)
    Stores a new token in the auth store's tokens database.
  • Method Details

    • getTokens

      List<IAuthToken> getTokens() throws AuthStoreException
      Returns a list of all the tokens stored in the auth store.
      Returns:
      a list of all tokens stored in the auth store.
      Throws:
      AuthStoreException - if there is an issue accessing the auth store.
    • storeToken

      void storeToken(String clientId, String description, User owner) throws AuthStoreException
      Stores a new token in the auth store's tokens database.
      Parameters:
      clientId - the ID of the Dex client that the token works with.
      description - the user-provided description of the token.
      owner - the details of the user that the token belongs to.
      Throws:
      AuthStoreException - if there is an issue accessing the auth store.
    • shutdown

      void shutdown() throws AuthStoreException
      Throws:
      AuthStoreException