Return the supported algorithms for userinfo signing. By default, it uses the recommended algorithms from ``joserfc``. Developer can override this method to customize the supported algorithms:: def get_supported_algorithms(self) -> list[str]: return ["RS2
(self)
| 83 | return 200, user_info, default_json_headers |
| 84 | |
| 85 | def get_supported_algorithms(self) -> list[str]: |
| 86 | """Return the supported algorithms for userinfo signing. |
| 87 | By default, it uses the recommended algorithms from ``joserfc``. |
| 88 | Developer can override this method to customize the supported algorithms:: |
| 89 | |
| 90 | def get_supported_algorithms(self) -> list[str]: |
| 91 | return ["RS256"] |
| 92 | """ |
| 93 | return JWSRegistry.recommended |
| 94 | |
| 95 | def generate_user_info(self, user, scope: str) -> UserInfo: |
| 96 | """ |