MCPcopy Index your code
hub / github.com/authlib/authlib / check

Method check

authlib/oauth2/rfc6749/errors.py:62–65  ·  view source on GitHub ↗

Check and raise InsecureTransportError with the given URI.

(cls, uri)

Source from the content-addressed store, hash-verified

60
61 @classmethod
62 def check(cls, uri):
63 """Check and raise InsecureTransportError with the given URI."""
64 if not is_secure_transport(uri):
65 raise cls()
66
67
68class InvalidRequestError(OAuth2Error):

Callers 1

__init__Method · 0.45

Calls 1

is_secure_transportFunction · 0.90

Tested by

no test coverage detected