API Reference tango v#0.1.2

Copy Markdown View Source

Modules

OAuth2 integration library for Elixir applications.

Ready-to-use OAuth API for Phoenix applications.

CORS (Cross-Origin Resource Sharing) plug for Tango OAuth API.

Reusable OAuth API router for Phoenix applications.

Provides data sanitization for audit logging to prevent information disclosure.

Main OAuth2 flow orchestrator.

Nango provider catalog integration.

Context module for OAuth connection management with multi-tenant isolation.

Convenience module for using Tango LiveView components.

LiveComponent that encapsulates the OAuth connect flow.

Provides the JavaScript hook name for the Tango OAuth popup flow.

Manages database migrations for Tango.

Tango V01 Migration - Initial schema setup.

Tango V02 Migration - Provider rejection tracking on connections.

Context module for OAuth provider configuration management.

Ecto repository for Tango OAuth library.

Comprehensive OAuth activity logging for security and compliance.

Active OAuth connections with encrypted token storage.

Temporary OAuth flow sessions with PKCE support.

OAuth provider configuration schema.

Custom Ecto type for encrypting binary data using Tango.Vault.

Comprehensive input validation for the Tango OAuth library.

Encryption vault for OAuth token storage.

Mix Tasks

Shared functionality for Mix tasks related to provider management.

Helper functions for Tango Mix tasks.

Creates a provider with OAuth credentials from the Nango catalog.

Shows detailed configuration for a specific provider.

Synchronizes all providers from the Nango catalog to local database.

Generates an Ecto migration that installs Tango's schema (providers, connections, OAuth sessions, audit log) by calling Tango.Migration.up/0.