Update method name
This commit is contained in:
@@ -67,7 +67,7 @@ namespace Lithnet.CredentialProvider
|
|||||||
this.logger.LogTrace("SetSelected");
|
this.logger.LogTrace("SetSelected");
|
||||||
this.IsSelected = true;
|
this.IsSelected = true;
|
||||||
this.OnSelected();
|
this.OnSelected();
|
||||||
pbAutoLogon = this.ShouldAutoLogon() ? 1 : 0;
|
pbAutoLogon = this.OnSelectedShouldAutoLogon() ? 1 : 0;
|
||||||
return HRESULT.S_OK;
|
return HRESULT.S_OK;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ namespace Lithnet.CredentialProvider
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// In Windows 10, if a credential provider wants to automatically log the user on in a situation Windows does not think is appropriate, the system will display a sign in button as a speed bump. One example of this is when a user with an empty password locks the computer or signs out. In that scenario, Windows does not directly log the user back in.
|
/// In Windows 10, if a credential provider wants to automatically log the user on in a situation Windows does not think is appropriate, the system will display a sign in button as a speed bump. One example of this is when a user with an empty password locks the computer or signs out. In that scenario, Windows does not directly log the user back in.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected virtual bool ShouldAutoLogon() => false;
|
protected virtual bool OnSelectedShouldAutoLogon() => false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Called when a user deselects this tile
|
/// Called when a user deselects this tile
|
||||||
|
|||||||
Reference in New Issue
Block a user