Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
z
Classes
Class List
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
grpc
src
core
lib
security
credentials
external
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
20
#include <
grpc/support/port_platform.h
>
21
22
#include <functional>
23
#include <string>
24
#include <vector>
25
26
#include "
src/core/lib/gprpp/ref_counted_ptr.h
"
27
#include "
src/core/lib/iomgr/error.h
"
28
#include "
src/core/lib/security/credentials/external/external_account_credentials.h
"
29
30
namespace
grpc_core
{
31
32
class
FileExternalAccountCredentials
final :
public
ExternalAccountCredentials
{
33
public
:
34
static
RefCountedPtr<FileExternalAccountCredentials>
Create
(
35
Options
options
, std::vector<std::string> scopes,
36
grpc_error_handle
*
error
);
37
38
FileExternalAccountCredentials
(
Options
options
,
39
std::vector<std::string> scopes,
40
grpc_error_handle
*
error
);
41
42
private
:
43
void
RetrieveSubjectToken
(
44
HTTPRequestContext
*
ctx
,
const
Options
&
options
,
45
std::function
<
void
(
std::string
,
grpc_error_handle
)>
cb
)
override
;
46
47
// Fields of credential source
48
std::string
file_
;
49
std::string
format_type_
;
50
std::string
format_subject_token_field_name_
;
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