The PasswordAuthentication type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | PasswordAuthentication |
Creates a new PasswordAuthentication object from the given
user name and password.
Note that the given user password is cloned before it is stored in the new PasswordAuthentication object. the user namethe user's password |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | Password |
Returns the user password.
Note that this method returns a reference to the password. It is the caller's responsibility to zero out the password information after it is no longer needed. Return Valuethe password |
![]() | UserName |
Returns the user name.
Return Valuethe user name |