Added an identity getter to XAuth methods to query the actually used identity

This commit is contained in:
Martin Willi
2012-03-20 17:31:23 +01:00
parent 5f6a37eb9b
commit 7a7efbf9d8
2 changed files with 23 additions and 12 deletions
@@ -80,6 +80,13 @@ struct xauth_method_t {
status_t (*process) (xauth_method_t *this, cp_payload_t *in,
cp_payload_t **out);
/**
* Get the XAuth username received as XAuth initiator.
*
* @return used XAuth username, pointer to internal data
*/
identification_t* (*get_identity)(xauth_method_t *this);
/**
* Destroys a eap_method_t object.
*/