MCPcopy Create free account
hub / github.com/authlib/authlib / __init__

Method __init__

authlib/oauth2/rfc6749/resource_protector.py:85–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83
84class ResourceProtector:
85 def __init__(self):
86 self._token_validators = {}
87 self._default_realm = None
88 self._default_auth_type = None
89
90 def register_token_validator(self, validator: TokenValidator):
91 """Register a token validator for a given Authorization type.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected