mirror of
https://github.com/azaion/loader.git
synced 2026-04-22 22:16:32 +00:00
8f7deb3fca
Made-with: Cursor
1.2 KiB
1.2 KiB
Module: credentials
Purpose
Simple data holder for user authentication credentials (email + password).
Public Interface
Classes
Credentials (cdef class)
| Attribute | Type | Visibility |
|---|---|---|
| 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
security—get_api_encryption_keytakesCredentialsas parameterapi_client— holds aCredentialsinstance, uses.emailand.passwordfor 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.