Package com.authzed.grpcutil
Class BearerToken
java.lang.Object
io.grpc.CallCredentials
com.authzed.grpcutil.BearerToken
public class BearerToken
extends io.grpc.CallCredentials
Bearer token implementation that can be used with GRPC stubs.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.CallCredentials
io.grpc.CallCredentials.MetadataApplier, io.grpc.CallCredentials.RequestInfo
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyRequestMetadata
(io.grpc.CallCredentials.RequestInfo requestInfo, Executor executor, io.grpc.CallCredentials.MetadataApplier applier) Methods inherited from class io.grpc.CallCredentials
thisUsesUnstableApi
-
Field Details
-
AUTHORIZATION
- See Also:
-
-
Constructor Details
-
BearerToken
-
-
Method Details
-
applyRequestMetadata
public void applyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo, Executor executor, io.grpc.CallCredentials.MetadataApplier applier) - Specified by:
applyRequestMetadata
in classio.grpc.CallCredentials
-