Click or drag to resize

AuthCredential Class

Base class for the authentication
Inheritance Hierarchy
SystemObject
  PsrApi.Data.Authentication.RequestOptionallyAuthenticatedRequest
    PsrApi.Data.Authentication.AuthDataAuthCredential
      More...

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

The AuthCredential type exposes the following members.

Properties
  NameDescription
Public propertyAuthType
The AuthTypes as Enum
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
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 propertyRequiredFieldsFromUser
Fields that has to be filled by the user
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
Inheritance Hierarchy
SystemObject
  PsrApi.Data.Authentication.RequestOptionallyAuthenticatedRequest
    PsrApi.Data.Authentication.AuthDataAuthCredential
      PsrApi.Data.Authentication.AuthDataAdPasswordCredential
      PsrApi.Data.Authentication.AuthDataAppCredential
      PsrApi.Data.Authentication.AuthDataAuthenticationApiKeyCredential
      PsrApi.Data.Authentication.AuthDataEmailConfirmationCredential
      PsrApi.Data.Authentication.AuthDataGoogleAuthCredential
      PsrApi.Data.Authentication.AuthDataOidcCredential
      PsrApi.Data.Authentication.AuthDataPasswordHashCredential
      PsrApi.Data.Authentication.AuthDataPkiCredential
      PsrApi.Data.Authentication.AuthDataRadiusTokenCredential
      PsrApi.Data.Authentication.AuthDataRsaSecurIdTokenCredential
      PsrApi.Data.Authentication.AuthDataSafeNetOneTimePasswordCredential
      PsrApi.Data.Authentication.AuthDataSmartCardCredential
      PsrApi.Data.Authentication.AuthDataWindowsCredential
      PsrApi.Data.Authentication.AuthDataYubicoOneTimePasswordCredential