Skip to content
| Marketplace
Sign in
Visual Studio Code>Extension Packs>AuthenticatorNew to Visual Studio Code? Get it now.
Authenticator

Authenticator

chuduo

|
2 installs
| (0) | Free
强大的身份验证器,帮助开发者在 VSCode 中轻松管理 MFA 密钥和生成 TOTP 验证码
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔐 Authenticator - VSCode MFA Extension

Version License VSCode

A powerful VSCode extension for managing Multi-Factor Authentication (MFA) secrets and generating TOTP codes.

English | 中文

✨ Key Features

🔐 MFA Secret Management

  • Secure Storage: Safely store and manage TOTP secrets
  • QR Code Import: Automatically parse secret information from QR code images
  • Multiple Input Methods: Support image selection, clipboard paste, TOTP URL input, and manual entry
  • Multi-Platform Support: Compatible with various service providers (Google, Microsoft, GitHub, Cloudflare, etc.)
  • Label Management: Add labels and issuer information for each secret
  • Secure Deletion: Safely delete secrets that are no longer needed

🔄 Smart Code Generation

  • Real-time Generation: Generate 6-digit TOTP codes based on current time
  • Smart Refresh: Automatically refresh codes based on remaining time
  • Countdown Display: Real-time display of code validity remaining time
  • One-click Copy: Click to copy verification codes to clipboard
  • Batch Generation: Generate codes for all secrets at once

🎨 User Interface

  • VSCode Theme: Perfectly integrated with VSCode's UI style
  • Responsive Design: Adapts to different screen sizes
  • Intuitive Operation: Clean and clear user interface
  • Multi-language Support: Support for Chinese and English interfaces
  • Real-time Feedback: Detailed operation status and error messages

🔧 Configuration Management

  • Server Configuration: Customize backend server address
  • API Key: Secure API key management
  • Language Settings: Switch between Chinese and English interfaces
  • Auto-save: Configuration automatically saved to workspace

🚀 Quick Start

1. Install Extension

Search for and install the "Authenticator" extension from the VSCode Extension Marketplace.

2. Configure Server

  1. Open Command Palette: Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
  2. Run Configuration Command: Type "Authenticator: Open Configuration"
  3. Set Server Information:
    • Server URL: Enter your backend server URL
    • API Key: Enter a valid API key
    • Language: Choose interface language (English/中文)
  4. Save Configuration: Click "Save Configuration"

3. Add Your First MFA Secret

  1. Enter MFA Interface: Click "🔐 MFA Authenticator" on the homepage
  2. Add Secret: Click the "+ Add New Secret" button
  3. Choose Input Method:
    • QR Code Import: Click "📁 Select QR Image" to select QR code image, auto-parse
    • Clipboard Paste: Click "📋 Paste QR Image" to paste from clipboard
    • URL Input: Click "🔗 Enter TOTP URL" to directly input TOTP URL
    • Manual Input: Manually fill in secret key, label, and issuer information
  4. Check Information: Confirm auto-filled or manually entered information is correct
  5. Save Secret: Click "Add Secret" to complete

4. Generate Verification Codes

  1. Auto Generation: Codes are automatically generated after adding secrets
  2. Manual Refresh: Click the "🔄 Refresh Codes" button
  3. Smart Refresh: Enable "Smart auto-refresh" to automatically update before codes expire
  4. Copy Codes: Click the copy button next to verification codes

📖 Detailed Feature Description

QR Code Import Function

  • Auto Recognition: Use jimp and jsqr libraries to automatically recognize QR code content
  • Multi-format Support: Support PNG, JPG, JPEG, GIF, BMP, WEBP formats
  • Smart Parsing: Automatically extract secret, label, issuer and other information
  • Fallback Options: Provide manual input options when recognition fails
  • Local Processing: All image processing completed locally, protecting privacy

Clipboard Support

  • Image Paste: Directly paste QR code images from clipboard
  • Text Recognition: Automatically recognize TOTP URLs and Base64 image data
  • Smart Detection: Automatically determine clipboard content type
  • User Friendly: Provide clear operation prompts and error handling

Smart Refresh Mechanism

  • Dynamic Scheduling: Intelligently schedule refresh based on code remaining time
  • Early Refresh: Automatically refresh 3 seconds before code expiration
  • Resource Optimization: Avoid unnecessary network requests
  • Seamless Experience: Ensure users always see valid verification codes

🔒 Security Features

  • Local Encryption: Sensitive data encrypted and stored locally
  • Secure Transmission: Use HTTPS to communicate with backend server
  • Access Control: API key-based access control
  • Privacy Protection: Image processing completed locally, not uploaded to server
  • Secure Deletion: Delete operations require user confirmation

🛠️ Development and Build

Environment Requirements

  • Node.js 16+
  • pnpm package manager
  • VSCode 1.60.0+

Install Dependencies

pnpm install

Development Mode

pnpm run watch

Build Extension

pnpm run compile

Package Extension

pnpm run package

📝 Changelog

See CHANGELOG.md for detailed version update information.

🤝 Contributing

Contributions are welcome! Please check our contribution guidelines:

  1. Fork this repository
  2. Create feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add some AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Create Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🆘 Support and Feedback

  • Issue Reports: GitHub Issues
  • Feature Requests: GitHub Discussions
  • Documentation: Project Wiki

🙏 Acknowledgments

Thanks to the following open source projects:

  • jsqr - QR code parsing
  • jimp - Image processing
  • React - UI framework
  • VSCode Extension API - Extension development

Enjoy secure and convenient MFA experience! 🎉

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft