File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,16 @@ class ClientStepWorker : public Nan::AsyncWorker {
91
91
}
92
92
93
93
private:
94
+ virtual void HandleOKCallback () {
95
+ Nan::HandleScope scope;
96
+ v8::Local<v8::Value> argv[] = {
97
+ Nan::Null (),
98
+ Nan::New (_client->_state ->response ).ToLocalChecked ()
99
+ };
100
+
101
+ callback->Call (2 , argv, async_resource);
102
+ }
103
+
94
104
KerberosClient* _client;
95
105
std::string _challenge;
96
106
};
Original file line number Diff line number Diff line change @@ -91,6 +91,16 @@ class ServerStepWorker : public Nan::AsyncWorker {
91
91
}
92
92
93
93
private:
94
+ virtual void HandleOKCallback () {
95
+ Nan::HandleScope scope;
96
+ v8::Local<v8::Value> argv[] = {
97
+ Nan::Null (),
98
+ Nan::New (_server->_state ->response ).ToLocalChecked ()
99
+ };
100
+
101
+ callback->Call (2 , argv, async_resource);
102
+ }
103
+
94
104
KerberosServer* _server;
95
105
std::string _challenge;
96
106
};
You can’t perform that action at this time.
0 commit comments