Class FinCredentialForm
Genric utility Form that can be used to query the user for security credentials such as PIN and TAN.
public class FinCredentialForm : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IFinCredentialForm
- Inheritance
-
FinCredentialForm
- Implements
- Inherited Members
Remarks
This Form implements the abstract IFinCredentialForm interface.
Constructors
FinCredentialForm(string, IWin32Window)
public FinCredentialForm(string sCaption, IWin32Window aOwnerWindow = null)
Parameters
sCaptionstringText for the Window caption.
aOwnerWindowIWin32WindowOptional owner Window of this form. If this is
null, then the Window won't have an explicit owner.
FinCredentialForm(IWin32Window)
public FinCredentialForm(IWin32Window aOwnerWindow = null)
Parameters
aOwnerWindowIWin32WindowOptional owner Window of this form. If this is
null, then the Window won't have an explicit owner.
Methods
Delegate_HidePromptAuthenticateSecure()
public void Delegate_HidePromptAuthenticateSecure()
Delegate_ShowPromptAuthenticateSecure()
public void Delegate_ShowPromptAuthenticateSecure()
GetCredential(FinContact, FinCredential)
Show dialog box.
public bool GetCredential(FinContact aContact, FinCredential aCredential)
Parameters
aContactFinContactProvides the FinContact instance for which to collect the security credentials.
aCredentialFinCredentialProvides all the information needed in order to create a suitable dialog box. When the user acknowledges this box, then this also returns the actual PIN or TAN.
Returns
- bool
Returns DialogResult.Cancel if aborted by the user and DialogResult.OK if acknowledged.
HidePromptAuthenticateSecure(FinContact, FinAuthenticateResult)
public void HidePromptAuthenticateSecure(FinContact aContact, FinAuthenticateResult nResult)
Parameters
aContactFinContactnResultFinAuthenticateResult
OnClosed(EventArgs)
protected override void OnClosed(EventArgs e)
Parameters
OnLoad(EventArgs)
protected override void OnLoad(EventArgs e)
Parameters
ShowPromptAuthenticateSecure(FinContact, string)
public void ShowPromptAuthenticateSecure(FinContact aContact, string sPrompt)
Parameters
aContactFinContactsPromptstring