@ThreadSafe public final class AuthenticatedUserInjector extends Object implements io.grpc.ServerInterceptor
AuthenticatedClientUser
. This
interceptor requires ChannelIdInjector
to have injected the channel id from which the
particular RPC is being made.Constructor and Description |
---|
AuthenticatedUserInjector(AuthenticationServer authenticationServer)
Creates
AuthenticationServer with given authentication server. |
Modifier and Type | Method and Description |
---|---|
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata headers,
io.grpc.ServerCallHandler<ReqT,RespT> next) |
public AuthenticatedUserInjector(AuthenticationServer authenticationServer)
AuthenticationServer
with given authentication server.authenticationServer
- the authentication serverCopyright © 2023. All Rights Reserved.