Class NSServiceAuth

Properties for service authentication.

Constructors

NSServiceAuth()

Initializes a new instance of the NSServiceAuth class.

Declaration

NSServiceAuth

Methods

GetAuthType()

Declaration

String GetAuthType()

Examples

NSServiceAuth thing;
String authType = thing.GetAuthType();

Returns

Type Description
String The type of authentication, plain-text, OAuth...

GetPassword()

Declaration

String GetPassword()

Examples

NSServiceAuth thing;
String password = thing.GetPassword();

Returns

Type Description
String The (decrypted) password or token.

GetPort()

Declaration

Integer GetPort()

Examples

NSServiceAuth thing;
Integer port = thing.GetPort();

Returns

Type Description
Integer The server port.

GetServer()

Declaration

String GetServer()

Examples

NSServiceAuth thing;
String server = thing.GetServer();

Returns

Type Description
String The mail server.

GetServiceAuthId()

Declaration

Integer GetServiceAuthId()

Examples

NSServiceAuth thing;
Integer serviceAuthId = thing.GetServiceAuthId();

Returns

Type Description
Integer The primary key.

GetUsername()

Declaration

String GetUsername()

Examples

NSServiceAuth thing;
String username = thing.GetUsername();

Returns

Type Description
String The username.

SetAuthType(String)

Declaration

Void SetAuthType(String authType)

Examples

NSServiceAuth thing;
String authType;
thing.SetAuthType(authType);

Parameters

Type Name Description
String authType The type of authentication, plain-text, OAuth...

Returns

Type Description
Void

SetPassword(String)

Declaration

Void SetPassword(String password)

Examples

NSServiceAuth thing;
String password;
thing.SetPassword(password);

Parameters

Type Name Description
String password The (decrypted) password or token.

Returns

Type Description
Void

SetPort(Integer)

Declaration

Void SetPort(Integer port)

Examples

NSServiceAuth thing;
Integer port;
thing.SetPort(port);

Parameters

Type Name Description
Integer port The server port.

Returns

Type Description
Void

SetServer(String)

Declaration

Void SetServer(String server)

Examples

NSServiceAuth thing;
String server;
thing.SetServer(server);

Parameters

Type Name Description
String server The mail server.

Returns

Type Description
Void

SetServiceAuthId(Integer)

Declaration

Void SetServiceAuthId(Integer serviceAuthId)

Examples

NSServiceAuth thing;
Integer serviceAuthId;
thing.SetServiceAuthId(serviceAuthId);

Parameters

Type Name Description
Integer serviceAuthId The primary key.

Returns

Type Description
Void

SetUsername(String)

Declaration

Void SetUsername(String username)

Examples

NSServiceAuth thing;
String username;
thing.SetUsername(username);

Parameters

Type Name Description
String username The username.

Returns

Type Description
Void