user.auth.clients.saml2
Classes
Holds the required SAML2 Attributes |
|
Dict like interface that mangles the name_id that gets passed into the |
|
Extension to the dict/shelve based default cache to use our |
Functions
|
|
|
Module Contents
- user.auth.clients.saml2.handle_logout_request(conn: saml2.client.Saml2Client, name_id: str | None, logout_req: Any, relay_state: str | None) tuple[bool, Any][source]
- user.auth.clients.saml2.finish_logout(request: onegov.core.request.CoreRequest, user: onegov.user.User, to: str, local: bool = True) webob.Response[source]
- class user.auth.clients.saml2.SAML2Client[source]
-
- treat_as_ldap: bool[source]
Whether or not users created by this provider should show up as being created by LDAP instead. Necessary when using LDAP to sync the users periodically and deactivate old accounts.
- attributes: SAML2Attributes[source]
Mapping of attribute names
- connection(provider: onegov.user.auth.provider.SAML2Provider, request: onegov.core.request.CoreRequest) saml2.client.Saml2Client[source]
Returns the SAML2 instance
- class user.auth.clients.saml2.SAML2Connections[source]
- connections: dict[str, SAML2Client][source]
- client(app: onegov.user.auth.provider.HasApplicationIdAndNamespace) SAML2Client | None[source]
- class user.auth.clients.saml2.Mangled(cache: onegov.core.cache.RedisCacheRegion, prefix: str = '')[source]
Dict like interface that mangles the name_id that gets passed into the cache, so valid name_ids cannot be discovered through key listing