> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/contributor/contributor-pt/comunicacoes/tipos-de-transporte/signed-login.md).

# Login Assinado

O transporte Signed Login pode ser usado por servidores que desejam personalizar a forma como atribuem clientes a islands, substituindo ou envolvendo Archipelago em sua arquitetura.

Em vez de conectar-se diretamente a um backend em tempo real, Signed Login faz um [signed fetch](https://github.com/decentraland/docs/blob/main/contributor/auth/signed_fetch/README.md) para obter a string de conexão. Esta etapa intermediária permite que servidores empreguem qualquer estratégia de atribuição que desejarem.

As URIs do Signed Login têm esta forma:

```
signed-login:https://comms.example.com/auth&param=value
```

A porção após o `signed-login:` o prefixo pode ser qualquer URL válida.

### Uso

Uma requisição Signed Login é construída usando o [signed fetch](https://github.com/decentraland/docs/blob/main/contributor/auth/signed_fetch/README.md) mecanismo.

A resposta, se bem-sucedida, terá status `200` e um corpo JSON com *pelo menos* os seguintes campos:

| Campo          | Tipo     | Valor                                                         |
| -------------- | -------- | ------------------------------------------------------------- |
| `fixedAdapter` | `string` | A URI de transporte atribuída (ex.: `livekit:` ou `ws-room:`) |

Por exemplo:

```
{ 
  fixedAdapter: "ws-room:wss://comms.example.com/rooms/17"
}
```

Em caso de falha, a resposta pode ter qualquer código de status apropriado e um corpo JSON com *pelo menos* os seguintes campos:

| Campo     | Tipo     | Valor                                                     |
| --------- | -------- | --------------------------------------------------------- |
| `message` | `string` | (Opcional) uma explicação ou código de erro para a falha. |

Respostas com campos adicionais no corpo JSON são válidas, e o conteúdo do erro `message` permanece não especificado. Implementações podem usar essa flexibilidade para integrar `signed-login:` em suas aplicações conforme julgarem adequado.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.decentraland.org/contributor/contributor-pt/comunicacoes/tipos-de-transporte/signed-login.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
