MCP Server Framework - v1.0.0
Preparing search index...
mcp-server-framework
hasScope
Function hasScope
hasScope
(
authInfo
:
AuthInfo
|
undefined
,
scope
:
string
)
:
boolean
Check if the token has a specific scope. Returns
false
if not authenticated.
Parameters
authInfo
:
AuthInfo
|
undefined
scope
:
string
Returns
boolean
Settings
Member Visibility
Protected
Internal
Theme
OS
Light
Dark
MCP Server Framework - v1.0.0
Loading...
Check if the token has a specific scope. Returns
falseif not authenticated.