Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/auth0-samples/auth0-python-api-samples
/ functions
Functions
9 in github.com/auth0-samples/auth0-python-api-samples
⨍
Functions
9
◇
Types & classes
1
↳
Endpoints
3
↓ 2 callers
Function
get_token_auth_header
Obtains the access token from the Authorization Header
00-Starter-Seed/server.py:48
↓ 1 callers
Function
requires_scope
Determines if the required scope is present in the access token Args: required_scope (str): The scope required to access the resource
00-Starter-Seed/server.py:77
Method
__init__
(self, error: Dict[str, str], status_code: int)
00-Starter-Seed/server.py:30
Function
decorated
(*args, **kwargs)
00-Starter-Seed/server.py:97
Function
handle_auth_error
serializes the given AuthError as json and sets the response status code accordingly. :param ex: an auth error :return: json serialized e
00-Starter-Seed/server.py:37
Function
private
A valid access token is required to access this route
00-Starter-Seed/server.py:167
Function
private_scoped
A valid access token and an appropriate scope are required to access this route
00-Starter-Seed/server.py:178
Function
public
No access token required to access this route
00-Starter-Seed/server.py:156
Function
requires_auth
Determines if the access token is valid
00-Starter-Seed/server.py:92