class StatelyDB::Common::Auth::Interceptor

def request_response(request:, call:, method:, metadata:) # rubocop:disable Lint/UnusedMethodArgument

Other tags:
    Api: - private

Returns:
  • (Object) - The response object

Parameters:
  • metadata (Hash) -- The metadata hash
  • method (Symbol) -- The method being called
  • call (::GRPC::ActiveCall) -- The active call object
  • request (Object) -- The request object
def request_response(request:, call:, method:, metadata:) # rubocop:disable Lint/UnusedMethodArgument
  add_jwt_to_grpc_request(metadata:)
  yield
end