MCPcopy Index your code
hub / github.com/auth0-samples/auth0-python-api-samples / requires_scope

Function requires_scope

00-Starter-Seed/server.py:77–89  ·  view source on GitHub ↗

Determines if the required scope is present in the access token Args: required_scope (str): The scope required to access the resource

(required_scope: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

private_scopedFunction · 0.85

Calls 1

get_token_auth_headerFunction · 0.85

Tested by

no test coverage detected