summaryrefslogtreecommitdiff
path: root/kimap/loginjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'kimap/loginjob.h')
-rw-r--r--kimap/loginjob.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/kimap/loginjob.h b/kimap/loginjob.h
index 0967348..6064214 100644
--- a/kimap/loginjob.h
+++ b/kimap/loginjob.h
@@ -69,6 +69,25 @@ class KIMAP_EXPORT LoginJob : public Job
QString userName() const;
void setUserName( const QString &userName );
+ /**
+ * Get the authorization identity.
+ * @since 4.10
+ */
+ QString authorizationName() const;
+
+ /**
+ * Set the authorization identity.
+ *
+ * If set, proxy-authentication according to RFC4616 will be used.
+ *
+ * Note that this feature only works with the "PLAIN" AuthenticationMode.
+ *
+ * The @param authorizationName will be used together with the password() to get authenticated as userName() by the authorization of the provided credentials.
+ * This allows to login as a user using the admin credentials and the users name.
+ * @since 4.10
+ */
+ void setAuthorizationName( const QString &authorizationName );
+
QString password() const;
void setPassword( const QString &password );