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

Method get_scope

authlib/oauth2/rfc6749/models.py:153–162  ·  view source on GitHub ↗

A method to get scope of the authorization code. For instance, the column is called ``scope``:: def get_scope(self): return self.scope :return: scope string

(self)

Source from the content-addressed store, hash-verified

151 raise NotImplementedError()
152
153 def get_scope(self):
154 """A method to get scope of the authorization code. For instance,
155 the column is called ``scope``::
156
157 def get_scope(self):
158 return self.scope
159
160 :return: scope string
161 """
162 raise NotImplementedError()
163
164
165class TokenMixin:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected