Skip to content

Commit 9982e4b

Browse files
committed
Remove deprecated property aes from UsernamePasswordMako class
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent ed00655 commit 9982e4b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/saml2/authn.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import warnings as _warnings
21
import logging
32
import six
43
import time
@@ -123,15 +122,6 @@ def __init__(self, srv, mako_template, template_lookup, pwd, return_to):
123122
self.query_param = "upm_answer"
124123
self.symmetric = saml2.cryptography.symmetric.Default(srv.symkey)
125124

126-
@property
127-
def aes(self):
128-
_deprecation_msg = (
129-
'This attribute is deprecated. '
130-
'It will be removed in the next version. '
131-
'Use self.symmetric instead.')
132-
_warnings.warn(_deprecation_msg, DeprecationWarning)
133-
return self.symmetric
134-
135125
def __call__(self, cookie=None, policy_url=None, logo_url=None,
136126
query="", **kwargs):
137127
"""

0 commit comments

Comments
 (0)