rust_mcp_sdk/auth/
token_verifier.rs1use super::{AuthInfo, AuthenticationError};
2use async_trait::async_trait;
3
4#[async_trait]
5pub trait OauthTokenVerifier: Send + Sync {
6 async fn verify_token(&self, access_token: String) -> Result<AuthInfo, AuthenticationError>;
7}