Show / Hide Table of Contents

    Class UserNameIdentityDefinition

    Represents serializable user name and password client credentials.

    Inheritance
    Object
    IdentityDefinitionBase
    UserNameIdentityDefinition
    Implements
    IValidator
    IExtensibleDataObject
    Inherited Members
    IdentityDefinitionBase.GetEndpointIdentity()
    IdentityDefinitionBase.GetConfiguration()
    IdentityDefinitionBase.ToString()
    IdentityDefinitionBase.Create(Identity)
    IdentityDefinitionBase.Create(EndpointIdentity)
    IdentityDefinitionBase.IsMatch(IdentityDefinitionBase, IdentityDefinitionBase)
    IdentityDefinitionBase.Validate(Boolean)
    IdentityDefinitionBase.Id
    IdentityDefinitionBase.Key
    IdentityDefinitionBase.Description
    IdentityDefinitionBase.IsPublic
    IdentityDefinitionBase.FolderId
    IdentityDefinitionBase.Expired
    IdentityDefinitionBase.Created
    IdentityDefinitionBase.Updated
    IdentityDefinitionBase.IsEndpointIdentity
    IdentityDefinitionBase.ErrorMessage
    IdentityDefinitionBase.ExtensionData
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Services.Identities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class UserNameIdentityDefinition : IdentityDefinitionBase, IValidator, IExtensibleDataObject

    Constructors

    UserNameIdentityDefinition()

    Initializes an empty instance.

    Declaration
    public UserNameIdentityDefinition()

    UserNameIdentityDefinition(Identity)

    Initializes new instance from provided Identity object.

    Declaration
    public UserNameIdentityDefinition(Identity identity)
    Parameters
    Type Name Description
    Identity identity

    Identity object used to populate new instance.

    UserNameIdentityDefinition(String, String)

    Initializes new instance from provided user name and password.

    Declaration
    public UserNameIdentityDefinition(string userName, string password)
    Parameters
    Type Name Description
    String userName

    User name associated with the credentials.

    String password

    Password for the user name associated with the credentials.

    Properties

    FriendlyName

    Gets or sets the friendly name describing stored identity.

    Declaration
    public override string FriendlyName { get; set; }
    Property Value
    Type Description
    String
    Overrides
    IdentityDefinitionBase.FriendlyName

    Kind

    Gets stored identity kind (like X.509 certificate, SPN, etc).

    Declaration
    public override IdentityKind Kind { get; protected set; }
    Property Value
    Type Description
    IdentityKind
    Overrides
    IdentityDefinitionBase.Kind

    Password

    Gets the password for the user name associated with the credentials.

    Declaration
    public string Password { get; set; }
    Property Value
    Type Description
    String

    UserName

    Gets the user name associated with the credentials.

    Declaration
    public string UserName { get; set; }
    Property Value
    Type Description
    String

    Methods

    GetIdentity()

    Returns Identity object populated with the data stored in this instance.

    Declaration
    public override Identity GetIdentity()
    Returns
    Type Description
    Identity

    Identity object populated with the data stored in this instance.

    Overrides
    IdentityDefinitionBase.GetIdentity()

    Validate()

    Validates this domain object's state.

    Declaration
    public override bool Validate()
    Returns
    Type Description
    Boolean

    True if object's state is valid; otherwise, false.

    Overrides
    IdentityDefinitionBase.Validate()

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    Back to top Nevatech Sentinet 6.5 Online Documentation