# Authentication methods

Understand the four authentication methods for Console sessions, account API tokens, source IPv4 allowlists, and proxy usernames and passwords.

Console login, account API token, source IPv4 whitelisting, and proxy accounting are at different call stages and cannot be substituted for each other.

## Console login status

- The browser maintains the session via the HttpOnly cookie.
- Used for user-initiated login state POST extracts.
- The front-end code does not read or copy cookies.

## Account API Tokens

- For `/openapi/v1/**` Open interface.
- By the only `api_key` Query parameters are submitted without using cookies, bearers or custom authentication headers.
- (a) No requirement to call a source that is on a white list. The full token is displayed only once after the console is generated or reset.

## Source IPv4 allowlist

- Use for unlogged-in GET extracts to connect to the extract results.
- The server finds unique account attribution based on the true source IPv4.
- The identity claim in the call parameter is not involved in authentication.

## Agent username and password

- Used to connect to the accounting proxy gateway.
- The username and password for the sub-account are generated by the complete service.
- Configuration of the source IP allowlist is not required at the same time.

## Safety principles

- None of the four types of credentials are allowed to enter the public log. The console only temporarily displays the full API token after it is generated or reset.
- The unattended service does not capture console cookies.
- Do not include `api_key` The full call URL is written to the log, job ticket, or screenshot.
