C# OJAI Client API
|
Public Member Functions | |
ClientAuthInterceptor (Dictionary< string, string > userCreds, Action pingCall) | |
override TResponse | BlockingUnaryCall< TRequest, TResponse > (TRequest request, ClientInterceptorContext< TRequest, TResponse > context, BlockingUnaryCallContinuation< TRequest, TResponse > continuation) |
Intercepts a blocking invocation of a simple remote call. More... | |
override AsyncUnaryCall< TResponse > | AsyncUnaryCall< TRequest, TResponse > (TRequest request, ClientInterceptorContext< TRequest, TResponse > context, AsyncUnaryCallContinuation< TRequest, TResponse > continuation) |
Intercepts an asynchronous invocation of a simple remote call. More... | |
override AsyncServerStreamingCall< TResponse > | AsyncServerStreamingCall< TRequest, TResponse > (TRequest request, ClientInterceptorContext< TRequest, TResponse > context, AsyncServerStreamingCallContinuation< TRequest, TResponse > continuation) |
Intercepts an asynchronous invocation of a streaming remote call. More... | |
Private Member Functions | |
Metadata | GetUserMetadata () |
Compose authentication user metadata. More... | |
void | SetToken (Metadata responseMetadata) |
Set JWT token from response metadata from server. More... | |
Private Attributes | |
string | _token |
Metadata | _userCred |
string | _encodedUserCred |
Action | PingCall |
override AsyncServerStreamingCall<TResponse> MapRDB.Driver.ClientAuthInterceptor.AsyncServerStreamingCall< TRequest, TResponse > | ( | TRequest | request, |
ClientInterceptorContext< TRequest, TResponse > | context, | ||
AsyncServerStreamingCallContinuation< TRequest, TResponse > | continuation | ||
) |
Intercepts an asynchronous invocation of a streaming remote call.
override AsyncUnaryCall<TResponse> MapRDB.Driver.ClientAuthInterceptor.AsyncUnaryCall< TRequest, TResponse > | ( | TRequest | request, |
ClientInterceptorContext< TRequest, TResponse > | context, | ||
AsyncUnaryCallContinuation< TRequest, TResponse > | continuation | ||
) |
Intercepts an asynchronous invocation of a simple remote call.
override TResponse MapRDB.Driver.ClientAuthInterceptor.BlockingUnaryCall< TRequest, TResponse > | ( | TRequest | request, |
ClientInterceptorContext< TRequest, TResponse > | context, | ||
BlockingUnaryCallContinuation< TRequest, TResponse > | continuation | ||
) |
Intercepts a blocking invocation of a simple remote call.
|
private |
Compose authentication user metadata.
|
private |
Set JWT token from response metadata from server.