Click or drag to resize

IAuthenticationValidatorValidateAuthentication Method

Validates authentication parameters.

Namespace:  PDTec.IceNet.Domain.UserManagement
Assembly:  PDTec.IceNet.Domain (in PDTec.IceNet.Domain.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
AuthenticationValidatorResult ValidateAuthentication(
	IDatabaseRepository pRepository,
	string user,
	string password,
	out string message
)

Parameters

pRepository
Type: PDTec.IceNet.Core.DatabaseIDatabaseRepository
The repository.
user
Type: SystemString
The ice.NET user name.
password
Type: SystemString
The password.
message
Type: SystemString
The error message if the authentication fails.

Return Value

Type: AuthenticationValidatorResult
The validation result.
Remarks
This method must not throw exceptions on authentication errors.
See Also