| SQLiteIdentity Constructor |
Initializes a new instance of the [!:SanteDB.DisconnectedClient.Security.SQLiteIdentity] class.
Namespace:
SanteDB.DisconnectedClient.SQLite.Security
Assembly:
SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax public SQLiteIdentity(
string userName,
bool authenticated,
DateTime? issueTime = null,
DateTime? expiry = null,
IEnumerable<IClaim> additionalClaims = null
)
Public Sub New (
userName As String,
authenticated As Boolean,
Optional issueTime As DateTime? = Nothing,
Optional expiry As DateTime? = Nothing,
Optional additionalClaims As IEnumerable(Of IClaim) = Nothing
)
public:
SQLiteIdentity(
String^ userName,
bool authenticated,
Nullable<DateTime> issueTime = nullptr,
Nullable<DateTime> expiry = nullptr,
IEnumerable<IClaim^>^ additionalClaims = nullptr
)
new :
userName : string *
authenticated : bool *
?issueTime : Nullable<DateTime> *
?expiry : Nullable<DateTime> *
?additionalClaims : IEnumerable<IClaim>
(* Defaults:
let _issueTime = defaultArg issueTime null
let _expiry = defaultArg expiry null
let _additionalClaims = defaultArg additionalClaims null
*)
-> SQLiteIdentity
Parameters
- userName
- Type: SystemString
User name. - authenticated
- Type: SystemBoolean
If set to true authenticated. - issueTime (Optional)
- Type: SystemNullableDateTime
[Missing <param name="issueTime"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Security.SQLiteIdentity.#ctor(System.String,System.Boolean,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim})"]
- expiry (Optional)
- Type: SystemNullableDateTime
[Missing <param name="expiry"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Security.SQLiteIdentity.#ctor(System.String,System.Boolean,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim})"]
- additionalClaims (Optional)
- Type: System.Collections.GenericIEnumerableIClaim
[Missing <param name="additionalClaims"/> documentation for "M:SanteDB.DisconnectedClient.SQLite.Security.SQLiteIdentity.#ctor(System.String,System.Boolean,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim})"]
See Also