Authenticator code cleanup as per review
[quassel.git] / src / core / authenticator.h
index e0d4370..ce8a42a 100644 (file)
@@ -52,7 +52,7 @@ public slots:
 
     //! Returns the display name of the authenticator backend
     /** \return A string that can be used by the client to name the authenticator backend */
-    virtual QString displayName() const = 0;
+    virtual QString backendId() const = 0;
 
     //! Returns a description of this authenticator backend
     /** \return A string that can be displayed by the client to describe the authenticator */
@@ -61,6 +61,9 @@ public slots:
     //! Returns a list of properties required to use the authenticator backend
     virtual QStringList setupKeys() const = 0;
 
+    //! Checks if the authenticator allows manual password changes from inside quassel.
+    virtual bool canChangePassword() const = 0;
+
     //! Returns a map where the keys are are properties to use the authenticator backend
     /*  the values are QVariants with default values */
     virtual QVariantMap setupDefaults() const = 0;