Files
loader/_docs/02_document/modules/credentials.md
T
Oleksandr Bezdieniezhnykh 8f7deb3fca Add E2E tests, fix bugs
Made-with: Cursor
2026-04-13 05:17:48 +03:00

1.2 KiB

Module: credentials

Purpose

Simple data holder for user authentication credentials (email + password).

Public Interface

Classes

Credentials (cdef class)

Attribute Type Visibility
email str public
password str public
Method Signature Description
__init__ (self, str email, str password) Constructor
__str__ (self) -> str Returns "email: password" format

Internal Logic

No logic — pure data class.

Dependencies

  • Internal: none (leaf module)
  • External: none

Consumers

  • securityget_api_encryption_key takes Credentials as parameter
  • api_client — holds a Credentials instance, uses .email and .password for login and key derivation

Data Models

The Credentials class itself is the data model.

Configuration

None.

External Integrations

None.

Security

Stores plaintext password in memory. No encryption at rest.

Tests

No tests found.