<?php
// GENERATED CODE -- DO NOT EDIT!

// Original file comments:
//
// Сервис предоставляет возможность действий с пользователями
namespace Keyapis\Identity\V1;

/**
 * Сервис действий с пользователями
 */
class UserServiceClient extends \Grpc\BaseStub {

    /**
     * @param string $hostname hostname
     * @param array $opts channel options
     * @param \Grpc\Channel $channel (optional) re-use channel object
     */
    public function __construct($hostname, $opts, $channel = null) {
        parent::__construct($hostname, $opts, $channel);
    }

    /**
     * Метод переноса кабинета ключа в другой кабинет SSO.
     * Метод доступен для: admin, service, ltp_first
     * @param \Keyapis\Identity\V1\PostUserSsoMigrationRequest $argument input argument
     * @param array $metadata metadata
     * @param array $options call options
     * @return \Grpc\UnaryCall
     */
    public function PostUserSsoMigration(\Keyapis\Identity\V1\PostUserSsoMigrationRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/keyapis.identity.v1.UserService/PostUserSsoMigration',
        $argument,
        ['\Keyapis\Identity\V1\PostUserSsoMigrationResponse', 'decode'],
        $metadata, $options);
    }

}
