<!--⚠️ Note that this file is in Markdown but contains specific syntax for our doc-builder (similar to MDX) that may not be
rendered properly in your Markdown viewer.
-->

# Authentication

The `huggingface_hub` library allows users to programmatically manage authentication to the Hub. This includes logging in, logging out, switching between tokens, and listing available tokens.

For more details about authentication, check out [this section](../quick-start#authentication).

## login

[[autodoc]] login

## interpreter_login

[[autodoc]] interpreter_login

## notebook_login

[[autodoc]] notebook_login

## logout

[[autodoc]] logout

## auth_switch

[[autodoc]] auth_switch

## auth_list

[[autodoc]] auth_list
