MCPcopy
hub / github.com/authlib/authlib / check_required_fields

Method check_required_fields

authlib/jose/rfc7517/base_key.py:113–116  ·  view source on GitHub ↗
(cls, data)

Source from the content-addressed store, hash-verified

111
112 @classmethod
113 def check_required_fields(cls, data):
114 for k in cls.REQUIRED_JSON_FIELDS:
115 if k not in data:
116 raise ValueError(f'Missing required field: "{k}"')
117
118 @classmethod
119 def validate_raw_key(cls, key):

Callers 3

import_dict_keyMethod · 0.80
import_keyMethod · 0.80
import_dict_keyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected