summaryrefslogtreecommitdiff
path: root/gst/rtsp-server/rtsp-client.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2013-07-04 14:33:59 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2013-07-04 14:33:59 +0200
commit78bc979690210662067a8adada5c17122f37f9c7 (patch)
tree4ade04b4997489074cc640800d8f84c843abcee0 /gst/rtsp-server/rtsp-client.h
parenta1e5bde58d1f6c3b4452a063d251db8f3d5dbe77 (diff)
auth: add support for multiple basic auth tokens
Make it possible to add multiple basic authorisation tokens to one authorization object. Associate with each token an authorization group that will define what capabilities are allowed.
Diffstat (limited to 'gst/rtsp-server/rtsp-client.h')
-rw-r--r--gst/rtsp-server/rtsp-client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-client.h b/gst/rtsp-server/rtsp-client.h
index 741fed2..b5adc10 100644
--- a/gst/rtsp-server/rtsp-client.h
+++ b/gst/rtsp-server/rtsp-client.h
@@ -51,6 +51,7 @@ typedef struct _GstRTSPClientPrivate GstRTSPClientPrivate;
* @request: the complete request
* @uri: the complete url parsed from @request
* @method: the parsed method of @uri
+ * @authgroup: authorisation group
* @session: the session, can be NULL
* @sessmedia: the session media for the url can be NULL
* @factory: the media factory for the url, can be NULL.
@@ -64,6 +65,7 @@ struct _GstRTSPClientState {
GstRTSPMessage *request;
GstRTSPUrl *uri;
GstRTSPMethod method;
+ const gchar *authgroup;
GstRTSPSession *session;
GstRTSPSessionMedia *sessmedia;
GstRTSPMediaFactory *factory;