Class: Config

kerberos.Config

Config is extra configuration for the kerberos client

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Config(): Config

Returns

Config

Defined in

kerberos.ts:153

Properties

LibDefaults

Optional LibDefaults: LibDefaults

Defined in

kerberos.ts:227


Realms

Optional Realms: Realm

Defined in

kerberos.ts:229

Methods

SetIPAddress

SetIPAddress(ip): Config

SetIPAddress sets the IP address for the kerberos client

Parameters

NameType
ipstring

Returns

Config

Example

const kerberos = require('nuclei/kerberos');
const cfg = new kerberos.Config();
cfg.SetIPAddress('10.10.10.1');

Defined in

kerberos.ts:163


SetTimeout

SetTimeout(timeout): Config

SetTimeout sets the RW timeout for the kerberos client

Parameters

NameType
timeoutnumber

Returns

Config

Example

const kerberos = require('nuclei/kerberos');
const cfg = new kerberos.Config();
cfg.SetTimeout(5);

Defined in

kerberos.ts:177