MCPcopy
hub / github.com/authlib/authlib / get_user

Method get_user

authlib/oauth2/rfc6749/models.py:225–233  ·  view source on GitHub ↗

A method to get the user object associated with this token: .. code-block:: def get_user(self): return User.get(self.user_id)

(self)

Source from the content-addressed store, hash-verified

223 raise NotImplementedError()
224
225 def get_user(self):
226 """A method to get the user object associated with this token:
227
228 .. code-block::
229
230 def get_user(self):
231 return User.get(self.user_id)
232 """
233 raise NotImplementedError()
234
235 def get_client(self) -> ClientMixin:
236 """A method to get the client object associated with this token:

Callers 1

__call__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected