developer-delphi-to-fpc-horse-basic-auth — for Claude Code developer-delphi-to-fpc-horse-basic-auth, SkillsORM, community, for Claude Code, ide skills, Authorization: Basic, developer-delphi-to-fpc-horse-jwt, developer-delphi-to-fpc-horse-security, HorseBasicAuthentication(callback), Header(value)

v1.0.0

Об этом навыке

Подходящий сценарий: Ideal for AI agents that need developer-delphi-to-fpc-horse-basic-auth. Локализованное описание: developer-delphi-to-fpc-horse-basic-auth helps AI agents handle repository-specific developer workflows with documented implementation details.

Возможности

developer-delphi-to-fpc-horse-basic-auth
Versão interna (ficheiro)
Política .cursor/VERSION.md
Responsabilidade única
Middleware de autenticação HTTP Basic (cabeçalho Authorization: Basic ...) para Horse.

# Ключевые темы

cslsolucoes cslsolucoes
[1]
[0]
Обновлено: 4/27/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

Подходящий сценарий: Ideal for AI agents that need developer-delphi-to-fpc-horse-basic-auth. Локализованное описание: developer-delphi-to-fpc-horse-basic-auth helps AI agents handle repository-specific developer workflows with documented implementation details.

Зачем использовать этот навык

Рекомендация: developer-delphi-to-fpc-horse-basic-auth helps agents developer-delphi-to-fpc-horse-basic-auth. developer-delphi-to-fpc-horse-basic-auth helps AI agents handle repository-specific developer workflows with

Подходит лучше всего

Подходящий сценарий: Ideal for AI agents that need developer-delphi-to-fpc-horse-basic-auth.

Реализуемые кейсы использования for developer-delphi-to-fpc-horse-basic-auth

Сценарий использования: Applying developer-delphi-to-fpc-horse-basic-auth
Сценарий использования: Applying Versão interna (ficheiro)
Сценарий использования: Applying Política .cursor/VERSION.md

! Безопасность и ограничения

  • Ограничение: Requires repository-specific context from the skill documentation
  • Ограничение: Works best when the underlying tools and dependencies are already configured

About The Source

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Labs-демо

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ и шаги установки

These questions and steps mirror the structured data on this page for better search understanding.

? Частые вопросы

Что такое developer-delphi-to-fpc-horse-basic-auth?

Подходящий сценарий: Ideal for AI agents that need developer-delphi-to-fpc-horse-basic-auth. Локализованное описание: developer-delphi-to-fpc-horse-basic-auth helps AI agents handle repository-specific developer workflows with documented implementation details.

Как установить developer-delphi-to-fpc-horse-basic-auth?

Выполните команду: npx killer-skills add cslsolucoes/SkillsORM. Она работает с Cursor, Windsurf, VS Code, Claude Code и более чем 19 другими IDE.

Для чего можно использовать developer-delphi-to-fpc-horse-basic-auth?

Ключевые сценарии использования: Сценарий использования: Applying developer-delphi-to-fpc-horse-basic-auth, Сценарий использования: Applying Versão interna (ficheiro), Сценарий использования: Applying Política .cursor/VERSION.md.

Какие IDE совместимы с developer-delphi-to-fpc-horse-basic-auth?

Этот навык совместим с Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Для единой установки используйте CLI Killer-Skills.

Есть ли ограничения у developer-delphi-to-fpc-horse-basic-auth?

Ограничение: Requires repository-specific context from the skill documentation. Ограничение: Works best when the underlying tools and dependencies are already configured.

Как установить этот skill

  1. 1. Откройте терминал

    Откройте терминал или командную строку в директории проекта.

  2. 2. Запустите команду установки

    Выполните: npx killer-skills add cslsolucoes/SkillsORM. CLI автоматически определит вашу IDE или агента и настроит навык.

  3. 3. Начните использовать skill

    Skill уже активен. Ваш AI-агент может сразу использовать developer-delphi-to-fpc-horse-basic-auth в текущем проекте.

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

developer-delphi-to-fpc-horse-basic-auth

Install developer-delphi-to-fpc-horse-basic-auth, an AI agent skill for AI agent workflows and automation. Explore features, use cases, limitations, and setup...

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

developer-delphi-to-fpc-horse-basic-auth

Versão interna (ficheiro)

CampoValor
FileVersion1.0.0
Política.cursor/VERSION.md

Responsabilidade única

Middleware de autenticação HTTP Basic (cabeçalho Authorization: Basic ...) para Horse.

When to use

  • Validar username/password via cabeçalho Basic Auth
  • Proteger rotas com autenticação simples
  • Integração servidor-a-servidor (Basic Auth para APIs internas)

When NOT to use

  • Autenticação JWT Bearer → developer-delphi-to-fpc-horse-jwt
  • Geração/validação de tokens JWT → developer-delphi-to-fpc-horse-security

Documento canônico

app/package/docs/pacotes/horse-basic-auth.md


HorseBasicAuthentication — sobrecargas

SobrecargaDescrição
HorseBasicAuthentication(callback)Middleware com validação custom
HorseBasicAuthentication(callback, config)Com configuração avançada

IHorseBasicAuthenticationConfig — configuração

MétodoDescrição
NewCria instância
Header(value)Cabeçalho da credencial (padrão: Authorization)
RealmMessage(value)Mensagem do realm no challenge 401
SkipRoutes([...])Rotas que ignoram autenticação

Exemplos

Global — todas as rotas

delphi
1uses Horse, Horse.BasicAuthentication; 2 3begin 4 THorse.Use(HorseBasicAuthentication( 5 function(const AUsername, APassword: string): Boolean 6 begin 7 Result := AUsername.Equals('user') and APassword.Equals('password'); 8 end)); 9 10 THorse.Get('/ping', 11 procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc) 12 begin 13 Res.Send('pong'); 14 end); 15 16 THorse.Listen(9000); 17end.

Com configuração completa

delphi
1THorse.Use(HorseBasicAuthentication( 2 ValidarCredenciais, 3 THorseBasicAuthenticationConfig.New 4 .Header('Authorization') 5 .RealmMessage('GestorERP API') 6 .SkipRoutes(['/health', '/swagger/doc/html', '/auth/refresh']) 7));

Validação contra base de dados

delphi
1function ValidarCredenciais(const AUsername, APassword: string): Boolean; 2var LQuery: TFDQuery; 3begin 4 Result := False; 5 LQuery := TFDQuery.Create(nil); 6 try 7 LQuery.Connection := DM.Conexao; 8 LQuery.SQL.Text := 9 'SELECT 1 FROM usuarios WHERE login = :u AND senha_hash = :p AND ativo = 1'; 10 LQuery.ParamByName('u').AsString := AUsername; 11 LQuery.ParamByName('p').AsString := HashSenha(APassword); 12 LQuery.Open; 13 Result := not LQuery.IsEmpty; 14 finally 15 LQuery.Free; 16 end; 17end;

Proteção por rota (AddCallback)

delphi
1// Rota pública 2THorse.Get('/health', 3 procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc) 4 begin 5 Res.Send('ok'); 6 end); 7 8// Rotas privadas com Basic Auth 9THorse 10 .AddCallback(HorseBasicAuthentication(ValidarCredenciais)) 11 .Get('/admin/report', ProcRelatorio);

Lazarus / FPC

delphi
1{$MODE DELPHI}{$H+} 2uses Horse, Horse.BasicAuthentication, SysUtils; 3 4function DoLogin(const AUsername, APassword: string): Boolean; 5begin 6 Result := AUsername.Equals('user') and APassword.Equals('password'); 7end; 8 9begin 10 THorse.Use(HorseBasicAuthentication(DoLogin)); 11 THorse.Get('/ping', GetPing); 12 THorse.Listen(9000); 13end.

Notas GestorERP

  • Basic Auth apenas em canais HTTPS — nunca em HTTP puro
  • Hashear passwords com BCrypt ou SHA-256+salt (nunca plaintext)
  • Preferir JWT para sessões longas; Basic Auth para integrações servidor-a-servidor
  • unit a usar: Horse.BasicAuthentication

Changelog (este arquivo)

  • 1.0.0 (12/04/2026): Criação — skill middleware Basic Auth.

Связанные навыки

Looking for an alternative to developer-delphi-to-fpc-horse-basic-auth or another community skill for your workflow? Explore these related open-source skills.

Показать все

openclaw-release-maintainer

Logo of openclaw
openclaw

Локализованное описание: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

widget-generator

Logo of f
f

Локализованное описание: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor

flags

Logo of vercel
vercel

Локализованное описание: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Браузер

pr-review

Logo of pytorch
pytorch

Локализованное описание: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Разработчик