Go to the documentation of this file.
19 #ifndef GRPC_CORE_LIB_SECURITY_CREDENTIALS_JWT_JWT_CREDENTIALS_H
20 #define GRPC_CORE_LIB_SECURITY_CREDENTIALS_JWT_JWT_CREDENTIALS_H
28 #include "absl/status/statusor.h"
29 #include "absl/strings/str_format.h"
30 #include "absl/strings/string_view.h"
31 #include "absl/time/time.h"
32 #include "absl/types/optional.h"
64 "JWTAccessCredentials{ExpirationTime:%s}",
GPRAPI double gpr_timespec_to_micros(gpr_timespec t)
grpc_core::UniqueTypeName type() const override
ABSL_MUST_USE_RESULT std::string StrFormat(const FormatSpec< Args... > &format, const Args &... args)
static grpc_core::UniqueTypeName Type()
grpc_service_account_jwt_access_credentials(grpc_auth_json_key key, gpr_timespec token_lifetime)
grpc_core::Slice jwt_value
std::string debug_string() override
const gpr_timespec & jwt_lifetime() const
std::string FormatTime(absl::string_view format, absl::Time t, absl::TimeZone tz)
gpr_timespec jwt_expiration
grpc_core::ArenaPromise< absl::StatusOr< grpc_core::ClientMetadataHandle > > GetRequestMetadata(grpc_core::ClientMetadataHandle initial_metadata, const GetRequestMetadataArgs *args) override
absl::StatusOr< std::string > RemoveServiceNameFromJwtUri(absl::string_view uri)
~grpc_service_account_jwt_access_credentials() override
constexpr Time FromUnixMicros(int64_t us)
absl::optional< Cache > cached_
gpr_timespec jwt_lifetime_
int QsortCompare(const T &a, const T &b)
const grpc_auth_json_key & key() const
grpc_core::RefCountedPtr< grpc_call_credentials > grpc_service_account_jwt_access_credentials_create_from_auth_json_key(grpc_auth_json_key key, gpr_timespec token_lifetime)
int cmp_impl(const grpc_call_credentials *other) const override
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:27