neznajki/authorization-client

v0.1.1 2019-11-06 20:23 UTC

This package is auto-updated.

Last update: 2024-12-08 19:53:17 UTC


README

#installation

  • services
    authorization.client.user:
        class: JsonRpcClientBase\ValueObject\ClientUser
        arguments:
            - '%env(AUTH_USER)%'
            - '%env(AUTH_PASSWORD)%'

    AuthorizationClient\AuthorizationClient:
        class: AuthorizationClient\AuthorizationClient
        calls:
            -   method: setEndpointUrl
                arguments:
                    - '%env(AUTH_ENDPOINT)%'
            -   method: setUser
                arguments:
                    - '@authorization.client.user'

    JsonRpcClientBase\Contract\RequestHandlerInterface:
        class: JsonRpcClientBase\RequestHandler\CurlRequestHandler

    JsonRpcServerCommon\Contract\PasswordEncryptInterface:
        class: JsonRpcServerCommon\Service\DefaultPasswordEncryptService