def METHOD_NAME(credentials: EngagementCredentials) -> rpcq.ClientAuthConfig:
    return rpcq.ClientAuthConfig(
        client_secret_key=credentials.client_secret.encode(),
        client_public_key=credentials.client_public.encode(),
        server_public_key=credentials.server_public.encode(),
    )