Show / Hide Table of Contents

    Class DataSecurityOptions

    This options class contains an array of SecurityConfiguration (login information). A connection can specify as particular login account by referencing a SecurityKey.

    Inheritance
    System.Object
    DataSecurityOptions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ArgentSea
    Assembly: ArgentSea.dll
    Syntax
    public class DataSecurityOptions
    Examples

    For example, you might configure your usersecrets.json like this:

    "Credentials": [
    {
        "SecurityKey": "0",
        "UserName": "user",
        "Password": "123456"
    },
    {
        "SecurityKey": "1",
        "WindowsAuth": true,
    },
    {
        "SecurityKey": "2",
        "UserName": "account",
        "Password": "7890"
    }

    Properties

    | Improve this Doc View Source

    Credentials

    Declaration
    public SecurityConfiguration[] Credentials { get; set; }
    Property Value
    Type Description
    SecurityConfiguration[]
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Credentials
    Back to top Generated by DocFX