maba-oauth-commerce / bundle-encrypted-credentials
Encrypted credentials bundle for OAuth Commerce
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/maba-oauth-commerce/bundle-encrypted-credentials
Requires
- php: >=5.3.2
- maba-oauth-commerce/bundle-common: *
- symfony/framework-bundle: ~2.1
- zendframework/zend-crypt: ~2.1.4
- zendframework/zend-math: ~2.1.4
This package is auto-updated.
Last update: 2025-10-10 22:54:58 UTC
README
Example config
```
    maba_oauth_commerce_encrypted_credentials:
        local:                            # local token providers to handle encrypted user credentials
            accounts_password:            # key for manager, should not change when already used; must be unique
                certificate:
    #                id: service_id        # use service id or other parameters
                    content: %maba_oauth_commerce.certificate%    # content of certificate
                    hash:
    #                    id: service_id    # use service id or other parameters
                        algorithm: sha256
                        type: sha-256
                decrypting:
    #                id: service_id        # use service id or other parameters
                    algorithm: rijndael-256
                    type: aes-256-cbc
                key_exchange:
    #                id: service_id        # use service id or other parameters
                    private_key: %maba_oauth_commerce.private_key%                    # private key content, related to certificate
                    private_key_password: %maba_oauth_commerce.private_key_password%  # optional
                credentials_handler: service_id   # service id for credentials handler, implements CredentialsHandlerInterface
                expiration_interval: P1D  # token expiration interval spec for DateInterval, defaults to 2 days
```