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: 6.0.0.0 (6.0.6225.27214)
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