mirror of
https://github.com/VitexSoftware/multiflexi-csas.git
synced 2026-10-03 21:37:57 +00:00
MultiFlexi credential prototype for Česká Spořitelna (ČSAS/Erste) API
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVPQmZBdyuxFj1rTiJe9p6 |
||
|---|---|---|
| debian | ||
| src | ||
| .gitignore | ||
| .php-cs-fixer.dist.php | ||
| AGENTS.md | ||
| composer.json | ||
| composer.lock | ||
| Makefile | ||
| multiflexi-csas.svg | ||
| phpstan.neon.dist | ||
| phpunit.xml | ||
| README.md | ||
MultiFlexi CSAS Credential Prototype
Credential prototype plugin for MultiFlexi providing integration with Česká Spořitelna a.s. (ČSAS / Erste) API services.
This package was separated from multiflexi-core into its own standalone project/package.
What it does
Provides a credential prototype that manages ČSAS API credentials for MultiFlexi applications:
- CSAS_TOKEN_ID — Token UUID identifier (user-configured)
- CSAS_API_KEY — API key for ČSAS services (auto-provided)
- CSAS_SANDBOX_MODE — Sandbox mode toggle (auto-provided)
- CSAS_ACCESS_TOKEN — OAuth access token with expiration tracking (auto-provided)
The prototype integrates with the csas-authorize tool to automatically obtain and refresh access tokens.
Installation
From Debian Package
sudo dpkg -i multiflexi-csas_0.1.0_all.deb
sudo apt-get install -f # Install dependencies
Dependencies
multiflexi-cli— MultiFlexi command-line interfacecsas-authorize— ČSAS token management tool
How it works
- The credential prototype registers itself with MultiFlexi during package installation via
multiflexi crprototype sync - When configuring credentials, available tokens from
csas-access-tokenare listed for selection - On credential query, a fresh access token is obtained using the selected token UUID
- The access token and related configuration are provided to MultiFlexi applications
Files
/usr/share/php/MultiFlexi/CredentialProtoType/Csas.php— Credential prototype class
License
See debian/copyright