GetAuthenticationResult() public méthode

public GetAuthenticationResult ( System.Guid pluginGuid ) : BooleanResult
pluginGuid System.Guid
Résultat BooleanResult
Exemple #1
0
 private bool WeAuthedThisUser( PluginActivityInformation actInfo )
 {
     try
     {
         BooleanResult ldapResult = actInfo.GetAuthenticationResult(this.Uuid);
         return ldapResult.Success;
     }
     catch (KeyNotFoundException)
     {
         // The plugin is not enabled for authentication
         return false;
     }
 }