Author: | Roland Hedberg |
---|---|
Version: | 1.2 |
Contains classes and functions that a SAML2.0 Service Provider (SP) may use to conclude its tasks.
The basic pySAML2 service provider class
Does a attribute request to an attribute authority, this is by default done over SOAP.
Parameters: |
|
---|---|
Returns: | The attributes returned if BINDING_SOAP was used. HTTP args if BINDING_HTT_POST was used. |
Parameters: |
|
---|---|
Returns: |
More or less a layer of indirection :-/ Bootstrapping the whole thing by finding all the IdPs that should be notified.
Parameters: |
|
---|---|
Returns: | Depends on which binding is used: If the HTTP redirect binding then a HTTP redirect, if SOAP binding has been used the just the result of that conversation. |
Deal with a LogoutRequest
Parameters: |
|
---|---|
Returns: | Keyword arguments which can be used to send the response what’s returned follow different patterns for different bindings. If the binding is BINDIND_SOAP, what is returned looks like this: {
"data": <the SOAP enveloped response>
"url": "",
'headers': [('content-type', 'application/soap+xml')]
'method': "POST
}
|
handles a Logout response
Parameters: | response – A response.Response instance |
---|---|
Returns: | 4-tuple of (session_id of the last sent logout request, response message, response headers and message) |
Check if user is in the cache
Parameters: | name_id – The identifier of the subject |
---|
Remove the user from the cache, equals local logout
Parameters: | name_id – The identifier of the subject |
---|
Makes all necessary preparations for an authentication request.
Parameters: |
|
---|---|
Returns: | session id and AuthnRequest info |