0002-idp_saml-remove-old-code.patch
src/authentic2/idp/saml/saml2_endpoints.py | ||
---|---|---|
346 | 346 |
lasso.SAML2_AUTHN_CONTEXT_PASSWORD_PROTECTED_TRANSPORT |
347 | 347 |
elif how == 'ssl': |
348 | 348 |
authn_context = lasso.SAML2_AUTHN_CONTEXT_X509 |
349 |
elif how.startswith('oath-totp'): |
|
350 |
authn_context = lasso.SAML2_AUTHN_CONTEXT_TIME_SYNC_TOKEN |
|
351 | 349 |
else: |
352 | 350 |
raise NotImplementedError('Unknown authentication method %s', |
353 | 351 |
how) |
354 |
- |