|
3 | 3 | from typing import Optional |
4 | 4 | from typing import Union |
5 | 5 |
|
6 | | -from idpyoidc import claims |
| 6 | +from idpyoidc import metadata |
7 | 7 | from idpyoidc.client.oauth2 import authorization |
8 | 8 | from idpyoidc.client.oauth2.utils import pre_construct_pick_redirect_uri |
9 | 9 | from idpyoidc.client.oidc import IDT2REG |
@@ -32,9 +32,9 @@ class Authorization(authorization.Authorization): |
32 | 32 | error_msg = oidc.ResponseMessage |
33 | 33 |
|
34 | 34 | _supports = { |
35 | | - "request_object_signing_alg_values_supported": claims.get_signing_algs, |
36 | | - "request_object_encryption_alg_values_supported": claims.get_encryption_algs, |
37 | | - "request_object_encryption_enc_values_supported": claims.get_encryption_encs, |
| 35 | + "request_object_signing_alg_values_supported": metadata.get_signing_algs(), |
| 36 | + "request_object_encryption_alg_values_supported": metadata.get_encryption_algs(), |
| 37 | + "request_object_encryption_enc_values_supported": metadata.get_encryption_encs(), |
38 | 38 | "response_types_supported": ["code", "id_token", "code id_token"], |
39 | 39 | "request_parameter_supported": None, |
40 | 40 | "request_uri_parameter_supported": None, |
@@ -213,7 +213,7 @@ def store_request_on_file(self, req, **kwargs): |
213 | 213 | return _webname |
214 | 214 |
|
215 | 215 | def construct_request_parameter( |
216 | | - self, req, request_param, audience=None, expires_in=0, **kwargs |
| 216 | + self, req, request_param, audience=None, expires_in=0, **kwargs |
217 | 217 | ): |
218 | 218 | """Construct a request parameter""" |
219 | 219 | alg = self.get_request_object_signing_alg(**kwargs) |
|
0 commit comments