Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78079349
kerberos.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Aug 18, 07:29
Size
1 KB
Mime Type
text/x-c++
Expires
Tue, Aug 20, 07:29 (2 d)
Engine
blob
Format
Raw Data
Handle
19972671
Attached To
R2664 SHRINE MedCo Fork
kerberos.h
View Options
#ifndef KERBEROS_H
#define KERBEROS_H
#include <node.h>
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_generic.h>
#include <gssapi/gssapi_krb5.h>
#include <node_object_wrap.h>
#include <v8.h>
extern
"C"
{
#include "kerberosgss.h"
}
using
namespace
v8
;
using
namespace
node
;
class
Kerberos
:
public
ObjectWrap
{
public:
Kerberos
();
~
Kerberos
()
{};
// Constructor used for creating new Kerberos objects from C++
static
Persistent
<
FunctionTemplate
>
constructor_template
;
// Initialize function for the object
static
void
Initialize
(
Handle
<
Object
>
target
);
// Method available
static
Handle
<
Value
>
AuthGSSClientInit
(
const
Arguments
&
args
);
static
Handle
<
Value
>
AuthGSSClientStep
(
const
Arguments
&
args
);
static
Handle
<
Value
>
AuthGSSClientUnwrap
(
const
Arguments
&
args
);
static
Handle
<
Value
>
AuthGSSClientWrap
(
const
Arguments
&
args
);
static
Handle
<
Value
>
AuthGSSClientClean
(
const
Arguments
&
args
);
private:
static
Handle
<
Value
>
New
(
const
Arguments
&
args
);
// Handles the uv calls
static
void
Process
(
uv_work_t
*
work_req
);
// Called after work is done
static
void
After
(
uv_work_t
*
work_req
);
};
#endif
Event Timeline
Log In to Comment