Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 58cd1c8

Browse files
committed
Editorial
1 parent f69c65c commit 58cd1c8

2 files changed

Lines changed: 2 additions & 18 deletions

File tree

src/oidcrp/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,8 @@ def logout(self, state, client=None, post_logout_redirect_uri=''):
874874

875875
return resp
876876

877-
def backchannel_logout(self, client, request='', request_args=None):
877+
@staticmethod
878+
def backchannel_logout(client, request='', request_args=None):
878879
"""
879880
880881
:param request: URL encoded logout request

src/oidcrp/util.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -215,23 +215,6 @@ def get_deserialization_method(reqresp):
215215
return deser_method
216216

217217

218-
# SORT_ORDER = {'RS': 0, 'ES': 1, 'HS': 2, 'PS': 3, 'no': 4}
219-
#
220-
#
221-
# def sort_sign_alg(alg1, alg2):
222-
# if SORT_ORDER[alg1[0:2]] < SORT_ORDER[alg2[0:2]]:
223-
# return -1
224-
# elif SORT_ORDER[alg1[0:2]] > SORT_ORDER[alg2[0:2]]:
225-
# return 1
226-
# else:
227-
# if alg1 < alg2:
228-
# return -1
229-
# elif alg1 > alg2:
230-
# return 1
231-
# else:
232-
# return 0
233-
234-
235218
def get_value_type(http_response, body_type):
236219
"""
237220
Get the HTML encoding of the response.

0 commit comments

Comments
 (0)