Interface CredentialsStore

    • Method Detail

      • storeUserCredentials

        boolean storeUserCredentials​(UserCredentials userCredentials)
        Store the given user credentials. Warning: This method overwrites existing user credentials.
        Parameters:
        userCredentials - The user's credentials.
        Returns:
        Whether the storing of the credentials was successful.
      • getUserCredentials

        UserCredentials getUserCredentials()
        Returns the stored user credentials. Warning: If there are no stored user credentials, this method returns null.
        Returns:
        The stored user credentials.
      • deleteUserCredentials

        boolean deleteUserCredentials()
        Deletes the stored user credentials.
        Returns:
        Whether the deleting of the credentials was successful.