# tango v0.1.2 - Table of Contents

> OAuth integrations library for Phoenix applications.
Drop-in OAuth support with PKCE, multi-tenant isolation, encrypted token storage,
audit logging, and optional LiveView components. Compatible with Nango's provider catalog.

## Pages

- [💃 Tango - OAuth Integrations Library](readme.md)

## Modules

- [Tango](Tango.md): OAuth2 integration library for Elixir applications.
- [Tango.API](Tango.API.md): Ready-to-use OAuth API for Phoenix applications.
- [Tango.API.CORSPlug](Tango.API.CORSPlug.md): CORS (Cross-Origin Resource Sharing) plug for Tango OAuth API.
- [Tango.API.Router](Tango.API.Router.md): Reusable OAuth API router for Phoenix applications.
- [Tango.Audit.Sanitizer](Tango.Audit.Sanitizer.md): Provides data sanitization for audit logging to prevent information disclosure.
- [Tango.Auth](Tango.Auth.md): Main OAuth2 flow orchestrator.
- [Tango.Catalog](Tango.Catalog.md): Nango provider catalog integration.
- [Tango.Connection](Tango.Connection.md): Context module for OAuth connection management with multi-tenant isolation.
- [Tango.Live.Components](Tango.Live.Components.md): Convenience module for using Tango LiveView components.
- [Tango.Live.OAuthComponent](Tango.Live.OAuthComponent.md): LiveComponent that encapsulates the OAuth connect flow.
- [Tango.Live.OAuthHook](Tango.Live.OAuthHook.md): Provides the JavaScript hook name for the Tango OAuth popup flow.
- [Tango.Migration](Tango.Migration.md): Manages database migrations for Tango.
- [Tango.Migrations.V01](Tango.Migrations.V01.md): Tango V01 Migration - Initial schema setup.
- [Tango.Migrations.V02](Tango.Migrations.V02.md): Tango V02 Migration - Provider rejection tracking on connections.
- [Tango.Provider](Tango.Provider.md): Context module for OAuth provider configuration management.
- [Tango.Repo](Tango.Repo.md): Ecto repository for Tango OAuth library.
- [Tango.Schemas.AuditLog](Tango.Schemas.AuditLog.md): Comprehensive OAuth activity logging for security and compliance.
- [Tango.Schemas.Connection](Tango.Schemas.Connection.md): Active OAuth connections with encrypted token storage.
- [Tango.Schemas.OAuthSession](Tango.Schemas.OAuthSession.md): Temporary OAuth flow sessions with PKCE support.
- [Tango.Schemas.Provider](Tango.Schemas.Provider.md): OAuth provider configuration schema.
- [Tango.Types.EncryptedBinary](Tango.Types.EncryptedBinary.md): Custom Ecto type for encrypting binary data using Tango.Vault.
- [Tango.Validation](Tango.Validation.md): Comprehensive input validation for the Tango OAuth library.
- [Tango.Vault](Tango.Vault.md): Encryption vault for OAuth token storage.

## Mix Tasks

- [mix helpers.provider_helper](Mix.Tasks.Helpers.ProviderHelper.md): Shared functionality for Mix tasks related to provider management.
- [mix helpers.task_helper](Mix.Tasks.Helpers.TaskHelper.md): Helper functions for Tango Mix tasks.
- [mix tango.providers.create](Mix.Tasks.Tango.Providers.Create.md): Creates a provider with OAuth credentials from the Nango catalog.
- [mix tango.providers.show](Mix.Tasks.Tango.Providers.Show.md): Shows detailed configuration for a specific provider.
- [mix tango.providers.sync](Mix.Tasks.Tango.Providers.Sync.md): Synchronizes all providers from the Nango catalog to local database.
- [mix tango.setup](Mix.Tasks.Tango.Setup.md): Generates an Ecto migration that installs Tango's schema (providers,
connections, OAuth sessions, audit log) by calling `Tango.Migration.up/0`.

