file_external_account_credentials.h
Go to the documentation of this file.
1 //
2 // Copyright 2020 gRPC authors.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 
17 #ifndef GRPC_CORE_LIB_SECURITY_CREDENTIALS_EXTERNAL_FILE_EXTERNAL_ACCOUNT_CREDENTIALS_H
18 #define GRPC_CORE_LIB_SECURITY_CREDENTIALS_EXTERNAL_FILE_EXTERNAL_ACCOUNT_CREDENTIALS_H
19 
21 
22 #include <functional>
23 #include <string>
24 #include <vector>
25 
29 
30 namespace grpc_core {
31 
33  public:
35  Options options, std::vector<std::string> scopes,
37 
39  std::vector<std::string> scopes,
41 
42  private:
46 
47  // Fields of credential source
51 };
52 
53 } // namespace grpc_core
54 
55 #endif // GRPC_CORE_LIB_SECURITY_CREDENTIALS_EXTERNAL_FILE_EXTERNAL_ACCOUNT_CREDENTIALS_H
grpc_core::FileExternalAccountCredentials
Definition: file_external_account_credentials.h:32
ctx
Definition: benchmark-async.c:30
grpc_core
Definition: call_metric_recorder.h:31
options
double_dict options[]
Definition: capstone_test.c:55
grpc_core::ExternalAccountCredentials::HTTPRequestContext
Definition: external_account_credentials.h:74
testing::internal::string
::std::string string
Definition: bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
error
grpc_error_handle error
Definition: retry_filter.cc:499
grpc_core::ExternalAccountCredentials
Definition: external_account_credentials.h:45
grpc_core::FileExternalAccountCredentials::Create
static RefCountedPtr< FileExternalAccountCredentials > Create(Options options, std::vector< std::string > scopes, grpc_error_handle *error)
Definition: file_external_account_credentials.cc:35
external_account_credentials.h
grpc_core::FileExternalAccountCredentials::format_subject_token_field_name_
std::string format_subject_token_field_name_
Definition: file_external_account_credentials.h:50
grpc_core::RefCountedPtr
Definition: ref_counted_ptr.h:35
grpc_core::FileExternalAccountCredentials::RetrieveSubjectToken
void RetrieveSubjectToken(HTTPRequestContext *ctx, const Options &options, std::function< void(std::string, grpc_error_handle)> cb) override
Definition: file_external_account_credentials.cc:99
error.h
grpc_core::FileExternalAccountCredentials::format_type_
std::string format_type_
Definition: file_external_account_credentials.h:49
grpc_core::FileExternalAccountCredentials::FileExternalAccountCredentials
FileExternalAccountCredentials(Options options, std::vector< std::string > scopes, grpc_error_handle *error)
Definition: file_external_account_credentials.cc:47
grpc_core::FileExternalAccountCredentials::file_
std::string file_
Definition: file_external_account_credentials.h:48
ref_counted_ptr.h
grpc_error
Definition: error_internal.h:42
function
std::function< bool(GrpcTool *, int, const char **, const CliCredentials &, GrpcToolOutputCallback)> function
Definition: grpc_tool.cc:250
cb
OPENSSL_EXPORT pem_password_cb * cb
Definition: pem.h:351
grpc_core::ExternalAccountCredentials::Options
Definition: external_account_credentials.h:49
port_platform.h


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:20