[This is preliminary documentation and is subject to change.]
The IDPasswordCredentials type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | IDPasswordCredentials(IConfigSectionNode) |
Warning: storing plain credentials in config file is not secure. Use this method for the most simplistic cases
like unit testing
|
![]() | IDPasswordCredentials(String, String) | Initializes a new instance of the IDPasswordCredentials class |
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | Forget |
Deletes sensitive password information.
This method is mostly used on client (vs. server) to prevent process memory-inspection attack.
Its is usually called right after Login() was called.
Implementers may consider forcing post-factum GC.Collect() on all generations to make sure that orphaned
memory buff with sensitive information, that remains in RAM even after all references are killed, gets
compacted. This class implementation DOES NOT call Gc.Collect();
(Overrides Credentials Forget .) |
![]() ![]() | FromBasicAuth |
Creates IDPass credentials from base64 encoded auth header content as provided by RepresentAsString() method.
Returns null if the content is unparsable
|
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() ![]() | PlainPasswordToSecureBuffer |
Obtains an unsecure string password as SecureBuffer.
Note: The IDPasswordCredentials class is purposely designed to store password as plain text.
This is needed for simple cases and HTTP application where login credentials are posted via plain text anyway
|
![]() | RepresentAsString | |
![]() | ToString | (Overrides ![]() |
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | Forgotten |
Indicates whether Forget() was called on this instance
(Inherited from Credentials.) |
![]() | ID | |
![]() | Password | |
![]() | SecurePassword |
Obtains an unsecure string password as SecureBuffer.
Note: The IDPasswordCredentials class is purposely designed to store password as plain text.
This is needed for simple cases and HTTP application where login credentials are posted via plain text anyway
|
See Also