IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel.Security Namespace > Authenticator Class > LoginAsync Method : LoginAsync(ILoginCredential,LoginOptions) Method |
'Declaration
Public Overloads Function LoginAsync( _ Optional ByVal credential As ILoginCredential, _ Optional ByVal options As LoginOptions _ ) As Task(Of IAuthenticationContext)
'Usage
Dim instance As Authenticator Dim credential As ILoginCredential Dim options As LoginOptions Dim value As Task(Of IAuthenticationContext) value = instance.LoginAsync(credential, options)
public Task<IAuthenticationContext> LoginAsync( ILoginCredential credential, LoginOptions options )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2