Authenticates the specified user name and password.
Namespace: Novalys.VisualGuard.Security.WebServiceAssembly: Novalys.VisualGuard.Security.WebService (in Novalys.VisualGuard.Security.WebService.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public override void Validate( string userName, string password ) |
Visual Basic |
---|
Public Overrides Sub Validate ( userName As String, password As String ) |
Exceptions
Exception | Condition |
---|---|
System.IdentityModel.Tokens..::..SecurityTokenValidationException | userName and password combination are not valid |
System..::..ArgumentNullException | userName or password is null |
System..::..ArgumentException | username is empty.
or userName or password is longer than 64 characters. |
Novalys.VisualGuard.Security..::..VGConfigurationException | The configuration file is not valid
or A problem occurs during the connection to the repository.or The version of the repository or the version of the permissions is not supported by the application. |