Toolverse
All skills

auth-http-api-cloudbase

by TencentCloudBase

Use when you need to implement CloudBase Auth v2 over raw HTTP endpoints (login/signup, tokens, user operations) from backends or scripts that are not using the Web or Node SDKs.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Security
Views
5

About this skill

Use when you need to implement CloudBase Auth v2 over raw HTTP endpoints (login/signup, tokens, user operations) from backends or scripts that are not using the Web or Node SDKs.

How to use

  1. Potwierdź scenariusz użycia — upewnij się, że Twój kod będzie wywoływać bezpośrednio endpointy HTTP, a nie SDK. Jeśli używasz @cloudbase/js-sdk@2.x na frontencie lub @cloudbase/node-sdk w Node.js, użyj zamiast tego dedykowanej umiejętności dla tych platform.

  2. Przygotuj wymagane dane — zbierz identyfikator środowiska CloudBase (env), identyfikator klienta (clientId) i tajny klucz klienta (clientSecret). Ustal, czy będziesz implementować logowanie, rejestrację, dostęp anonimowy, zarządzanie tokenami czy operacje na danych użytkownika.

  3. Ustaw zmienne wspólne — zdefiniuj zmienne powłoki dla bazowego adresu URL (https://${env}.ap-shanghai.tcb-api.tencentcloudapi.com/auth/v1/...) i nagłówków (x-device-id, x-request-id), aby móc je wielokrotnie używać w różnych żądaniach.

  4. Wybierz odpowiedni scenariusz — dla logowania i rejestracji zacznij od scenariuszy 1–3 opisanych w dokumentacji umiejętności. Dla zarządzania cyklem życia tokenów użyj scenariuszy 4–6. Dla informacji o użytkowniku i zmian profilu zastosuj scenariusz 7.

  5. Konstruuj żądania HTTP zgodnie z dokumentacją — używaj dokładnie adresów URL i struktur JSON podanych w pliku umiejętności. Nie dodawaj ani nie modyfikuj pól, jeśli nie masz pewności — w razie wątpliwości sprawdź oficjalną dokumentację API HTTP CloudBase.

  6. Obsługuj odpowiedzi i błędy — zweryfikuj kody statusu HTTP i struktury odpowiedzi zwracane przez API, aby prawidłowo obsługiwać tokeny, dane użytkownika i komunikaty błędów w Twoim systemie.

Related skills

reverse-engineering-tools

by gmh5225

Guide for reverse engineering tools and techniques used in game security research. Use this skill when working with debuggers, disassemblers, memory analysis tools, binary analysis, or decompilers for game security research.

Security
3168

senior-security

by davila7

Comprehensive security engineering skill for application security, penetration testing, security architecture, and compliance auditing. Includes security assessment tools, threat modeling, crypto implementation, and security automation. Use when designing security architecture,

Security
2482

skill-writer

by pytorch

Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.

Security
15116

obsidian

by gapmiss

Comprehensive guidelines for Obsidian.md plugin development including all 27 ESLint rules, TypeScript best practices, memory management, API usage (requestUrl vs fetch), UI/UX standards, and submission requirements. Use when working with Obsidian plugins, main.ts files,

Security
14111

manim

by davila7

Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control

Security
1588

content-creator

by alirezarezvani

Create SEO-optimized marketing content with consistent brand voice. Includes brand voice analyzer, SEO optimizer, content frameworks, and social media templates. Use when writing blog posts, creating social media content, analyzing brand voice, optimizing SEO, planning content

Security
25124