Package feast.common.auth.credentials
Class JwtCallCredentials
- java.lang.Object
-
- io.grpc.CallCredentials
-
- feast.common.auth.credentials.JwtCallCredentials
-
public final class JwtCallCredentials extends io.grpc.CallCredentialsJWTCallCredentials provides/attaches a static JWT token for making authenticated gRPC calls. The given token will be passed as authorization bearer token when making calls.
-
-
Constructor Summary
Constructors Constructor Description JwtCallCredentials(String jwt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo, Executor executor, io.grpc.CallCredentials.MetadataApplier metadataApplier)voidthisUsesUnstableApi()
-
-
-
Constructor Detail
-
JwtCallCredentials
public JwtCallCredentials(String jwt)
-
-
Method Detail
-
applyRequestMetadata
public void applyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo, Executor executor, io.grpc.CallCredentials.MetadataApplier metadataApplier)- Specified by:
applyRequestMetadatain classio.grpc.CallCredentials
-
thisUsesUnstableApi
public void thisUsesUnstableApi()
- Specified by:
thisUsesUnstableApiin classio.grpc.CallCredentials
-
-