Package io.camunda.zeebe.client
Interface CredentialsProvider.CredentialsApplier
- Enclosing interface:
CredentialsProvider
public static interface CredentialsProvider.CredentialsApplier
Used to apply call credentials on a per-request basis, abstracting over gRPC and REST. This
interface is only meant to be consumed, not implemented externally.
-
Method Summary
Modifier and TypeMethodDescriptionofMetadata
(io.grpc.Metadata metadata) Helper method to build a credentials applier out of gRPC metadata.void
Puts the given header key and value into the request headers (e.g.
-
Method Details
-
put
Puts the given header key and value into the request headers (e.g. HTTP headers or gRPC metadata).- Parameters:
key
- the header keyvalue
- the header value
-
ofMetadata
Helper method to build a credentials applier out of gRPC metadata.- Parameters:
metadata
- the gRPC metadata on which to apply
-