MCPcopy
hub / github.com/authlib/authlib / get_amr

Method get_amr

authlib/oidc/core/models.py:20–29  ·  view source on GitHub ↗

Get the "amr" (Authentication Method Reference) value of the authorization code object. Have a look at :rfc:`RFC8176 <8176>` to see the full list of registered amr. def get_amr(self) -> list[str]: return ["pwd", "otp"]

(self)

Source from the content-addressed store, hash-verified

18 return None
19
20 def get_amr(self) -> list[str]:
21 """Get the "amr" (Authentication Method Reference) value of the authorization code object.
22
23 Have a look at :rfc:`RFC8176 <8176>` to see the full list of registered amr.
24
25 def get_amr(self) -> list[str]:
26 return ["pwd", "otp"]
27
28 """
29 return None

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected