Class NSUntrustedCredentials
Credentials for external authentication.
Constructors
NSUntrustedCredentials()
Initializes a new instance of the NSUntrustedCredentials class.
Declaration
NSUntrustedCredentials Methods
GetComment()
Declaration
String GetComment() Examples
NSUntrustedCredentials thing;
String comment = thing.GetComment();
Returns
| Type | Description |
| String | Description of credentials. Max 255 characters. |
GetIsActive()
Declaration
Bool GetIsActive() Examples
NSUntrustedCredentials thing;
Bool isActive = thing.GetIsActive();
Returns
| Type | Description |
| Bool | Is this credentials currently active. |
GetPublicValue()
Declaration
String GetPublicValue() Examples
NSUntrustedCredentials thing;
String publicValue = thing.GetPublicValue();
Returns
| Type | Description |
| String | Data stored unencrypted in the db. Typically server and or username. Max 238 characters. |
GetSecretValue()
Declaration
String GetSecretValue() Examples
NSUntrustedCredentials thing;
String secretValue = thing.GetSecretValue();
Returns
| Type | Description |
| String | Data stored encrypted in the db. Typically a password. Max 70 characters. |
GetValidFrom()
Declaration
DateTime GetValidFrom() Examples
NSUntrustedCredentials thing;
DateTime validFrom = thing.GetValidFrom();
Returns
| Type | Description |
| DateTime | Credentials are valid from this date. |
GetValidTo()
Declaration
DateTime GetValidTo() Examples
NSUntrustedCredentials thing;
DateTime validTo = thing.GetValidTo();
Returns
| Type | Description |
| DateTime | Credentials are valid to this date. |
SetComment(String)
Declaration
Void SetComment(String comment) Examples
NSUntrustedCredentials thing;
String comment;
thing.SetComment(comment);
Parameters
| Type | Name | Description |
| String | comment | Description of credentials. Max 255 characters. |
Returns
| Type | Description |
| Void |
SetIsActive(Bool)
Declaration
Void SetIsActive(Bool isActive) Examples
NSUntrustedCredentials thing;
Bool isActive;
thing.SetIsActive(isActive);
Parameters
| Type | Name | Description |
| Bool | isActive | Is this credentials currently active. |
Returns
| Type | Description |
| Void |
SetPublicValue(String)
Declaration
Void SetPublicValue(String publicValue) Examples
NSUntrustedCredentials thing;
String publicValue;
thing.SetPublicValue(publicValue);
Parameters
| Type | Name | Description |
| String | publicValue | Data stored unencrypted in the db. Typically server and or username. Max 238 characters. |
Returns
| Type | Description |
| Void |
SetSecretValue(String)
Declaration
Void SetSecretValue(String secretValue) Examples
NSUntrustedCredentials thing;
String secretValue;
thing.SetSecretValue(secretValue);
Parameters
| Type | Name | Description |
| String | secretValue | Data stored encrypted in the db. Typically a password. Max 70 characters. |
Returns
| Type | Description |
| Void |
SetValidFrom(DateTime)
Declaration
Void SetValidFrom(DateTime validFrom) Examples
NSUntrustedCredentials thing;
DateTime validFrom;
thing.SetValidFrom(validFrom);
Parameters
| Type | Name | Description |
| DateTime | validFrom | Credentials are valid from this date. |
Returns
| Type | Description |
| Void |
SetValidTo(DateTime)
Credentials are valid to this date.
Declaration
Void SetValidTo(DateTime validTo) Examples
NSUntrustedCredentials thing;
DateTime validTo;
thing.SetValidTo(validTo);
Parameters
| Type | Name | Description |
| DateTime | validTo | Credentials are valid to this date. |
Returns
| Type | Description |
| Void |