MCPcopy
hub / github.com/authlib/authlib / get_supported_algorithms

Method get_supported_algorithms

authlib/oidc/core/userinfo.py:85–93  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 """

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected