Class UntrustedCredentials
Namespace: SuperOffice.Security
Assembly: SoDataBase.dll
Syntax
public class UntrustedCredentials : Object
Constructors
UntrustedCredentials()
Default constructor
Declaration
public UntrustedCredentials()
UntrustedCredentials(String, String)
Constructor
Declaration
public UntrustedCredentials(string publicValue, string secretValue)
Parameters
Type | Name | Description |
---|---|---|
String | publicValue | |
String | secretValue |
UntrustedCredentials(String, String, DateTime, DateTime, Boolean)
Constructor
Declaration
public UntrustedCredentials(string publicValue, string secredValue, DateTime validFrom, DateTime validTo, bool isActive)
Parameters
Type | Name | Description |
---|---|---|
String | publicValue | max 255 chars |
String | secredValue | value to encrypt. max 255 chars |
DateTime | validFrom | when is this credential active from |
DateTime | validTo | when is this credential active to |
Boolean | isActive | is this credential currently active |
Properties
IsActive
Is this credential currently active
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
PublicValue
Max 255 chars
Declaration
public string PublicValue { get; set; }
Property Value
Type | Description |
---|---|
String |
SecretValue
Value to encrypted. Max 255 chars
Declaration
public string SecretValue { get; set; }
Property Value
Type | Description |
---|---|
String |
ValidFrom
When is this credential active from
Declaration
public DateTime ValidFrom { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
ValidTo
When is this credential active to
Declaration
public DateTime ValidTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Extension Methods
EnumUtil.MapEnums<From, To>(From)