(c) 2024 Andreas Zimmermann, wan24.de

Search Results for

    Edit this page

    Class Protocol

    Protocol (POX)

    Inheritance
    object
    ValidatableRecordBase
    Protocol
    Implements
    IObjectValidatable
    IValidatableObject
    IEquatable<ValidatableRecordBase>
    IEquatable<Protocol>
    Inherited Members
    ValidatableRecordBase.Validate(ValidationContext)
    ValidatableRecordBase.ObjectValidatable(IObjectValidatable)
    ValidatableRecordBase.ToString()
    ValidatableRecordBase.PrintMembers(StringBuilder)
    ValidatableRecordBase.GetHashCode()
    ValidatableRecordBase.Equals(object)
    ValidatableRecordBase.Equals(ValidatableRecordBase)
    ValidatableRecordBase.<Clone>$()
    ValidatableRecordBase.EqualityContract
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: wan24.AutoDiscover.Models
    Assembly: wan24AutoDiscoverShared.dll
    Syntax
    public record Protocol : ValidatableRecordBase, IObjectValidatable, IValidatableObject, IEquatable<ValidatableRecordBase>, IEquatable<Protocol>
    Remarks

    Constructor

    Constructors

    | Edit this page View Source

    Protocol()

    Protocol (POX)

    Declaration
    public Protocol()
    Remarks

    Constructor

    Fields

    | Edit this page View Source

    AUTHREQUIRED_NODE_NAME

    AuthRequired node name

    Declaration
    protected const string AUTHREQUIRED_NODE_NAME = "AuthRequired"
    Field Value
    Type Description
    string
    | Edit this page View Source

    LOGINNAME_NODE_NAME

    LoginName node name

    Declaration
    protected const string LOGINNAME_NODE_NAME = "LoginName"
    Field Value
    Type Description
    string
    | Edit this page View Source

    OFF

    OFF

    Declaration
    protected const string OFF = "off"
    Field Value
    Type Description
    string
    | Edit this page View Source

    ON

    ON

    Declaration
    protected const string ON = "on"
    Field Value
    Type Description
    string
    | Edit this page View Source

    PORT_NODE_NAME

    Port node name

    Declaration
    protected const string PORT_NODE_NAME = "Port"
    Field Value
    Type Description
    string
    | Edit this page View Source

    PROTOCOL_NODE_NAME

    Protocol node name

    Declaration
    protected const string PROTOCOL_NODE_NAME = "Protocol"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SERVER_NODE_NAME

    Server node name

    Declaration
    protected const string SERVER_NODE_NAME = "Server"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SPA_NODE_NAME

    SPA node name

    Declaration
    protected const string SPA_NODE_NAME = "SPA"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SSL_NODE_NAME

    SSL node name

    Declaration
    protected const string SSL_NODE_NAME = "SSL"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TYPE_NODE_NAME

    Type node name

    Declaration
    protected const string TYPE_NODE_NAME = "Type"
    Field Value
    Type Description
    string

    Properties

    | Edit this page View Source

    AuthRequired

    Authentication required

    Declaration
    public bool AuthRequired { get; init; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    LoginName

    Login name getter delegate

    Declaration
    public static Protocol.LoginName_Delegate LoginName { get; set; }
    Property Value
    Type Description
    Protocol.LoginName_Delegate
    | Edit this page View Source

    LoginNameIsEmailAlias

    If the login name is the alias of the email address

    Declaration
    public bool LoginNameIsEmailAlias { get; init; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    LoginNameMapping

    Login name mapping (key is the email address or alias, value the mapped login name)

    Declaration
    [RequiredIf("LoginNameMappingRequired", new object?[] { true })]
    public IReadOnlyDictionary<string, string>? LoginNameMapping { get; init; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, string>
    | Edit this page View Source

    LoginNameMappingRequired

    If a successful login name mapping is required (if no mapping was possible, the email address will be used as login name)

    Declaration
    public bool LoginNameMappingRequired { get; init; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Port

    Port

    Declaration
    [Range(1, 65535)]
    public int Port { get; init; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    SPA

    Secure password authentication

    Declaration
    public bool SPA { get; init; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    SSL

    SSL

    Declaration
    public bool SSL { get; init; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Server

    Server

    Declaration
    [Host]
    public required string Server { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Type

    Type

    Declaration
    [Required]
    [StringLength(255, MinimumLength = 1)]
    public required string Type { get; init; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    CreateXml(XmlWriter, ReadOnlyMemory<string>, DomainConfig)

    Create XML

    Declaration
    public virtual void CreateXml(XmlWriter xml, ReadOnlyMemory<string> emailParts, DomainConfig domain)
    Parameters
    Type Name Description
    XmlWriter xml

    XML

    ReadOnlyMemory<string> emailParts

    Splitted email parts

    DomainConfig domain

    Domain

    | Edit this page View Source

    DefaultLoginName(ReadOnlyMemory<string>, DomainConfig, Protocol)

    Default login name resolver

    Declaration
    public static string DefaultLoginName(ReadOnlyMemory<string> emailParts, DomainConfig domain, Protocol protocol)
    Parameters
    Type Name Description
    ReadOnlyMemory<string> emailParts

    Splitted email parts

    DomainConfig domain

    Domain

    Protocol protocol

    Protocol

    Returns
    Type Description
    string

    Login name

    Implements

    wan24.ObjectValidation.IObjectValidatable
    IValidatableObject
    IEquatable<T>
    IEquatable<T>
    (c) 2024 Andreas Zimmermann, wan24.de