aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/security/transport/auth_filters.h
diff options
context:
space:
mode:
authorGravatar jboeuf <jboeuf@users.noreply.github.com>2017-11-03 21:22:14 -0700
committerGravatar GitHub <noreply@github.com>2017-11-03 21:22:14 -0700
commite5bca395f9bd9e6c017db3fd318ec608b5289341 (patch)
tree8e1d2ca65c9d5f07a0fc81049a94e25bfbcb1b6a /src/core/lib/security/transport/auth_filters.h
parent6da4f51e06f4077af5beb057ec5316c4ed5229ee (diff)
parenta274f341d545c88c68178227b3be40ac4c03e77e (diff)
Merge pull request #13235 from jboeuf/jwt_audience
Removing port 443 for the service name (used as jwt audience) for https
Diffstat (limited to 'src/core/lib/security/transport/auth_filters.h')
-rw-r--r--src/core/lib/security/transport/auth_filters.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lib/security/transport/auth_filters.h b/src/core/lib/security/transport/auth_filters.h
index ba5df7fe70..b49bd554de 100644
--- a/src/core/lib/security/transport/auth_filters.h
+++ b/src/core/lib/security/transport/auth_filters.h
@@ -19,6 +19,7 @@
#ifndef GRPC_CORE_LIB_SECURITY_TRANSPORT_AUTH_FILTERS_H
#define GRPC_CORE_LIB_SECURITY_TRANSPORT_AUTH_FILTERS_H
+#include <grpc/grpc_security.h>
#include "src/core/lib/channel/channel_stack.h"
#ifdef __cplusplus
@@ -28,6 +29,13 @@ extern "C" {
extern const grpc_channel_filter grpc_client_auth_filter;
extern const grpc_channel_filter grpc_server_auth_filter;
+void grpc_auth_metadata_context_build(
+ const char *url_scheme, grpc_slice call_host, grpc_slice call_method,
+ grpc_auth_context *auth_context,
+ grpc_auth_metadata_context *auth_md_context);
+
+void grpc_auth_metadata_context_reset(grpc_auth_metadata_context *context);
+
#ifdef __cplusplus
}
#endif