Click or drag to resize

PasswordHashCredential Class

Required data for authentication via Password Hash (for E2E users)
Inheritance Hierarchy
SystemObject
  PsrApi.Data.Authentication.RequestOptionallyAuthenticatedRequest
    PsrApi.Data.Authentication.AuthDataAuthCredential
      PsrApi.Data.Authentication.AuthDataPasswordHashCredential

Namespace:  PsrApi.Data.Authentication.AuthData
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntax
C#
public class PasswordHashCredential : AuthCredential

The PasswordHashCredential type exposes the following members.

Constructors
Properties
  NameDescription
Public property__type
Type of the object
Public propertyAuthType
The AuthTypes as Enum
(Overrides AuthCredentialAuthType.)
Public propertyClientInformation
Used as a Container which contains all informations about the client.
(Inherited from OptionallyAuthenticatedRequest.)
Public propertyDatabase
Database the user want to log into
(Inherited from OptionallyAuthenticatedRequest.)
Public propertyItem
Operator to receive the value for a defined key of the RequiredFieldsFromUser
(Inherited from AuthCredential.)
Public propertyOperationMode
Determinates the operation mode for the authentication process. It is needed to control the behaviour of the server side login process for special workflows, like reseting the second factor from the current user.
(Inherited from OptionallyAuthenticatedRequest.)
Public propertyPasswordHash
Hash of the password as UTF8 string
Public propertyRequiredFieldsFromUser
Fields that has to be filled by the user
(Inherited from AuthCredential.)
Public propertySessionId
Current SessionId. Empty if there is no session yet. Is filled, if the first factor authentication already was successfull.
(Inherited from OptionallyAuthenticatedRequest.)
Public propertyUsername
Name of the user that should be authenticated
(Inherited from OptionallyAuthenticatedRequest.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also