diff options
author | heretic <heretic@yandex-team.ru> | 2022-02-10 16:45:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:46 +0300 |
commit | 81eddc8c0b55990194e112b02d127b87d54164a9 (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/grpc/test/cpp/util/test_credentials_provider.h | |
parent | 397cbe258b9e064f49c4ca575279f02f39fef76e (diff) | |
download | ydb-81eddc8c0b55990194e112b02d127b87d54164a9.tar.gz |
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/grpc/test/cpp/util/test_credentials_provider.h')
-rw-r--r-- | contrib/libs/grpc/test/cpp/util/test_credentials_provider.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/grpc/test/cpp/util/test_credentials_provider.h b/contrib/libs/grpc/test/cpp/util/test_credentials_provider.h index 6b5e7f4b99..acba277ada 100644 --- a/contrib/libs/grpc/test/cpp/util/test_credentials_provider.h +++ b/contrib/libs/grpc/test/cpp/util/test_credentials_provider.h @@ -53,21 +53,21 @@ class CredentialsProvider { // Add a secure type in addition to the defaults. The default provider has // (kInsecureCredentialsType, kTlsCredentialsType). virtual void AddSecureType( - const TString& type, + const TString& type, std::unique_ptr<CredentialTypeProvider> type_provider) = 0; // Provide channel credentials according to the given type. Alter the channel // arguments if needed. Return nullptr if type is not registered. virtual std::shared_ptr<ChannelCredentials> GetChannelCredentials( - const TString& type, ChannelArguments* args) = 0; + const TString& type, ChannelArguments* args) = 0; // Provide server credentials according to the given type. // Return nullptr if type is not registered. virtual std::shared_ptr<ServerCredentials> GetServerCredentials( - const TString& type) = 0; + const TString& type) = 0; // Provide a list of secure credentials type. - virtual std::vector<TString> GetSecureCredentialsTypeList() = 0; + virtual std::vector<TString> GetSecureCredentialsTypeList() = 0; }; // Get the current provider. Create a default one if not set. |