diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2019-06-27 23:19:54 +0300 |
---|---|---|
committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2019-06-27 23:32:34 +0300 |
commit | 5151e4a1b71f7a17ccd86422c63a687c4d24048a (patch) | |
tree | 514aadd19122187db83eca01559c0426ef080061 /pyproject.toml | |
parent | e4723fb19388fd791d20b5cc1922ac544d6acbc0 (diff) | |
download | pysaml2-5151e4a1b71f7a17ccd86422c63a687c4d24048a.tar.gz |
Set force_authn when the value is "true" or "1"
Following d257d3054f36b4f3dfaba8b7394a2e8bab0aaf2e the ForceAuthn attribute is
an xsd:boolean value which can be any of "false", "true", "0" or "1". We must
set force_authn when the value is "true" or "1".
We set the value into kwargs, which is then mirrored onto _args, which is
merged with args, which is finally given to the saml2.samlp.AuthnRequest class
to construct the object.
Previously, we set the value into args directly, which would be overwritten by
the call to _filter_args.
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions