--- title: auth sidebarTitle: auth --- # `fastmcp.server.auth.auth` ## Classes ### `OAuthProvider` **Methods:** #### `verify_token` ```python verify_token(self, token: str) -> AccessToken | None ``` Verify a bearer token and return access info if valid. This method implements the TokenVerifier protocol by delegating to our existing load_access_token method. **Args:** - `token`: The token string to validate **Returns:** - AccessToken object if valid, None if invalid or expired