> For the complete documentation index, see [llms.txt](https://docs.catheongaming.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.catheongaming.com/user-accounts.md).

# User Accounts

To make use of any SDK functionality, a player must have a CGC account. CGC accounts are for users to connect in-game IDs with their NFTs, as well as being able to aggregate their NFTs across chains.

It is fairly straightforward to implement this as part of your login and registration flow.

## AuthorizeUser

**Params:** `string email, string password` \
**Response:** `string result` or throw exception in case of error

```
var result = cgc.AuthorizeUser("user@domain.com", "123");
```

## Catheon Connect

{% hint style="info" %}
Due to this approach (i.e. email and password requirement), we cannot accept social login (Facebook, Gmail, Twitter) or usernames.
{% endhint %}

In the case of a game that does not support email and password login, we would suggest that they implement a Catheon Connect button in their game which would invoke the same method but request a password from the user (post-login) or a one-time prompt to request the user enter their password.

![](https://lh4.googleusercontent.com/HKbvsaUyQ8cpsO0GNdY8VHLov_RQ_XHOFxdBg3lLjE3du1rzn8chUKeAAnQbpTi9E7EIfNSTQ_Y8V6hp-1z1vLl8Zmv6f8oLkP1spjkbvvIet6jyld394eOFFjbuWBl2lWuIn2yWanAx762nJe94PV3CS46ZOyPQtdYMN5Eqj8w3xOGL9O9Q4HCC)

This button would invoke a in-game modal window similar to the below, wherein the user’s email address is prefilled, and they are asked to input their password.

![](https://lh6.googleusercontent.com/L8hHGHj94MACS2D5x4P6nHla_oebhz_MuWQ4r8Dq1x044vY91u_nkSz4Qba3ARpgT3VTDyQq4ZkJxi9yjcTp_QtV3yz79VtM5GqIwnhfHVkrSuVJCwBn5Mi-tD7ZdnYLngLVYPAZ5AEthSN5o9L2o2qcse_liwXQzgSxR4secFth5xiYafy058G7)


---

# 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.catheongaming.com/user-accounts.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.
