Logo de Acp Delegate Authentication

Acp Delegate Authentication

Organização
OrcaQubits
acp-delegate-authentication

Implement the ACP Delegate Authentication API — delegating 3D Secure (3DS2) consumer authentication to merchant-specified providers, covering session creation, fingerprint and challenge actions, the authenticate call, and status handling. Use when adding strong customer authentication or 3DS to an ACP checkout.

Visão geral

Publicado porOrcaQubits
Repositórioagentic-commerce-skills-plugins
Nome da habilidadeacp-delegate-authentication
Estrelas
40
Forks
17
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por OrcaQubits no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Acp Delegate Authentication no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/acp-agentic-commerce/skills/acp-delegate-authentication
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/acp-agentic-commerce/skills/acp-delegate-authentication .claude/skills/acp-delegate-authentication
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Acp Delegate Authentication em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Acp Delegate Authentication automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Acp Delegate Authentication não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

ACP Delegate Authentication (3DS)

Before writing code

Fetch live spec — this API arrived in the 2026-04-17 release:

  1. Fetch https://github.com/agentic-commerce-protocol/agentic-commerce-protocol/releases for the current spec version.
  2. Fetch spec/<version>/openapi/openapi.delegate_authentication.yaml — authoritative for paths, request fields, statuses, and headers.
  3. Fetch spec/<version>/json-schema/schema.delegate_authentication.json for the schemas.
  4. Read acp-delegated-payment alongside this — authentication and payment delegation are separate but adjacent flows.

This API handles card data and authentication outcomes. Implement it from the live spec, never from memory or an example found elsewhere.

Conceptual Architecture

What it delegates

Consumer authentication — specifically 3D Secure 2 browser-based flows — to a merchant-specified authentication provider. The agent does not perform 3DS itself; it drives a provider that does, and carries the result back into checkout.

Note the server in the spec is the authentication provider, not the seller. This is a distinct party from the merchant endpoints in acp-checkout-rest.

Endpoints

MethodPathOperation
POST/delegate_authenticationcreateAuthenticationSession — 201
POST/delegate_authentication/{authentication_session_id}/authenticateauthenticateSession
GET/delegate_authentication/{authentication_session_id}getAuthenticationSession

Session statuses

StatusMeaning
action_requiredThe provider needs a browser-side action performed — see below
pendingIn progress; no action needed from the caller yet
not_supportedThe card is not enrolled in 3DS
authenticatedAuthentication succeeded
not_authenticatedAuthentication failed

not_supported is not a failure. It means the card is not enrolled and the flow should continue without 3DS — treating it as a decline will reject good transactions.

Two action types

  • fingerprint — invisible device data collection, run before any challenge. Nothing is shown to the buyer.
  • challenge — the buyer-facing 3DS challenge.

The sequence is fingerprint first (when required), then challenge if the issuer asks for one. A session may return action_required more than once.

Request contents

Creating a session carries, broadly:

  • merchant and acquirer identity — merchant_id, plus acquirer_details (acquirer BIN, country, acquirer merchant ID, merchant name, requestor ID). 3DS is acquirer-scoped; these are not optional decoration.
  • payment_method — card details.
  • amount — value in minor units plus currency.
  • channel — for browser, the full 3DS browser profile: accept header, IP, JS enabled, language, user agent, colour depth, screen dimensions, timezone offset. The issuer's risk engine consumes these; sending partial or fabricated values degrades authentication outcomes.
  • flow_preference — e.g. requesting or preferring a challenge.
  • challenge_notification_url — where the challenge result is delivered.
  • shopper_details and checkout_session_id to tie the session to the checkout.

Headers

Required: Authorization (Bearer API key), Content-Type, API-Version.

Optional but meaningful: Idempotency-Key, Request-Id, Accept-Language, User-Agent, and — notably — Signature and Timestamp for request signing. Check the live spec for the signing scheme and whether your provider requires it; see acp-dev-patterns for ACP's signature conventions.

Idempotency-Key and Request-Id are echoed back as response headers on creation.

Implementation Guidance

  • Handle not_supported as "proceed without 3DS", distinct from not_authenticated.
  • Never log or persist raw card numbers from the create request. This request carries a PAN; treat the whole path as cardholder-data scope.
  • Populate the browser channel block honestly and completely — it directly affects frictionless-flow rates.
  • Poll or await via getAuthenticationSession rather than assuming a terminal state after one call; action_required can repeat.
  • Always set Idempotency-Key on create and authenticate; a duplicated authentication attempt is a real failure mode when agents retry.
  • Relates to acp-delegated-payment, acp-checkout-rest, and acp-dev-patterns.

Perguntas frequentes

O que a habilidade de IA Acp Delegate Authentication faz?

Implement the ACP Delegate Authentication API — delegating 3D Secure (3DS2) consumer authentication to merchant-specified providers, covering session creation, fingerprint and challenge actions, the authenticate call, and status handling. Use when adding strong customer authentication or 3DS to an ACP checkout.

Por que usar Acp Delegate Authentication no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Acp Delegate Authentication é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Acp Delegate Authentication no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/acp-agentic-commerce/skills/acp-delegate-authentication. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Acp Delegate Authentication?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Acp Delegate Authentication?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Acp Delegate Authentication com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Acp Delegate Authentication é gratuita?

Sim. A habilidade é publicada no GitHub por OrcaQubits sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇