• Articles
  • API Documentation
Show / Hide Table of Contents
  • BitAddict.Aras
    • ArasException
    • ArasExtensions
    • ArasMethod
    • ArasOps
    • ArasPermissionGrant
    • CheckIdentityMembershipMethod
    • ItemIdComparer
    • ItemLock
    • Logger
    • MockInnovator
    • NaturalSortComparer
    • XmlPropertyAttribute
  • BitAddict.Aras.ArasSync
    • CommandCategoryAttribute
    • Program
    • UserMessageException
  • BitAddict.Aras.ArasSync.Commands
    • AboutCommand
    • DeployCommand
    • DeployDllCommand
    • ExportCommand
    • ExtractAllCommand
    • ExtractAmlCommand
    • ForAllCommand
    • ImportAmlCommand
    • ImportFilesCommand
    • ImportXmlCommand
    • ListDbCommand
    • LoginCommand
    • LoginStatusCommand
    • LogoutCommand
    • MergeAllCommand
    • MergeAmlCommand
    • ReplaceServerItemsCommand
    • RunAmlCommand
    • UploadDocCommand
  • BitAddict.Aras.ArasSync.Data
    • AmlFragment
    • AmlNode
    • ArasFeatureManifest
    • ClientFile
    • XmlFragment
    • XmlNode
  • BitAddict.Aras.ArasSync.Ops
    • XmlNodeExentensions
  • BitAddict.Aras.Data
    • ArasConfManifest
    • ArasDb
    • DeployDllInfo
  • BitAddict.Aras.ExternalUrlWidget
    • GetExternalUrlMethod
  • BitAddict.Aras.ExternalUrlWidget.UnitTests
    • TestGetExternalUrlMethod
  • BitAddict.Aras.Security
    • LoginInfo
  • BitAddict.Aras.Test
    • ArasNUnitTestBase
    • ArasUnitTestBase
  • BitAddict.Aras.UnitTests
    • TestArasExtensions
    • TestCheckIdentityMembership
    • TestLogger
    • TestLoginInfo
    • TestXmlPropertyAttribute

Class LoginInfo

Stores developers login/password to Aras in a secure way to allow arassync / integration tests to access Aras repeatedly.

Currently stored encrypted under User\AppData\Local.

Does not keep string secure in memory at the moment, as it is sent to IOM.dll unencrypted anyway.

Inheritance
System.Object
LoginInfo
Namespace: BitAddict.Aras.Security
Assembly: BitAddict.Aras.dll
Syntax
public class LoginInfo

Properties

KeyFilePath

Path to encrytped key file

Declaration
public static string KeyFilePath { get; }
Property Value
Type Description
System.String

Password

Unencrypted password

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

Username

User name

Declaration
public string Username { get; set; }
Property Value
Type Description
System.String

Methods

Delete()

Delete key file

Declaration
public static void Delete()

Exists()

Check if key file exists

Declaration
public static bool Exists()
Returns
Type Description
System.Boolean

IsValid()

Loads and decrypts key file, then checks that it contains some info

Declaration
public static bool IsValid()
Returns
Type Description
System.Boolean

Load()

Loads login info from key file

Declaration
[CanBeNull]
public static LoginInfo Load()
Returns
Type Description
LoginInfo
Exceptions
Type Condition
System.Exception

Store()

Stores login info in key file

Declaration
public void Store()
Back to top Generated by DocFX