@modelcontextprotocol/sdk
    Preparing search index...
    type BearerAuthMiddlewareOptions = {
        requiredScopes?: string[];
        resourceMetadataUrl?: string;
        verifier: OAuthTokenVerifier;
    }
    Index

    Properties

    requiredScopes?: string[]

    Optional scopes that the token must have.

    resourceMetadataUrl?: string

    Optional resource metadata URL to include in WWW-Authenticate header.

    A provider used to verify tokens.