summaryrefslogtreecommitdiff
path: root/src/libpttls/sasl/sasl_mechanism.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpttls/sasl/sasl_mechanism.h')
-rw-r--r--src/libpttls/sasl/sasl_mechanism.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libpttls/sasl/sasl_mechanism.h b/src/libpttls/sasl/sasl_mechanism.h
index fb1d08097..e8c47c408 100644
--- a/src/libpttls/sasl/sasl_mechanism.h
+++ b/src/libpttls/sasl/sasl_mechanism.h
@@ -51,6 +51,13 @@ struct sasl_mechanism_t {
char* (*get_name)(sasl_mechanism_t *this);
/**
+ * Get the client identity
+ *
+ * @return client identity
+ */
+ identification_t* (*get_client)(sasl_mechanism_t *this);
+
+ /**
* Build a SASL message to send to remote host.
*
* A message is returned if the return value is NEED_MORE or SUCCESS. A