MCPcopy
hub / github.com/authlib/authlib / load_raw_key

Method load_raw_key

authlib/jose/rfc7518/oct_key.py:46–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 return self.raw_key
45
46 def load_raw_key(self):
47 self.raw_key = urlsafe_b64decode(to_bytes(self.tokens["k"]))
48
49 def load_dict_key(self):
50 k = to_unicode(urlsafe_b64encode(self.raw_key))

Callers 2

get_op_keyMethod · 0.95
import_dict_keyMethod · 0.45

Calls 2

urlsafe_b64decodeFunction · 0.90
to_bytesFunction · 0.90

Tested by

no test coverage detected