From 4dace6be5feb67f1ea7a0d515704ccdca967a11d Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Mon, 1 Sep 2014 22:18:19 +0200 Subject: [PATCH] Corrected documentation. --- src/saml2/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/saml2/config.py b/src/saml2/config.py index 10001df..e704fa3 100644 --- a/src/saml2/config.py +++ b/src/saml2/config.py @@ -401,9 +401,9 @@ class Config(object): def endpoint(self, service, binding=None, context=None): """ Goes through the list of endpoint specifications for the - given type of service and returnes the first endpoint that matches - the given binding. If no binding is given any endpoint for that - service will be returned. + given type of service and returns a list of endpoint that matches + the given binding. If no binding is given all endpoints available for + that service will be returned. :param service: The service the endpoint should support :param binding: The expected binding