Table of Contents

Class SignInBasePage

Namespace
InSite.UI.Layout.Lobby.Controls
Assembly
InSite.UI.dll
public class SignInBasePage : LobbyBasePage, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, INamingContainer, IFilterResolutionService, IHttpHandler, IAdminPage, IHasTranslator, IHasWebRoute
Inheritance
SignInBasePage
Implements
Derived
Inherited Members

Constructors

SignInBasePage()

public SignInBasePage()

Properties

AuthenticationSource

protected string AuthenticationSource { get; set; }

Property Value

string

CellNumber

protected string CellNumber { get; set; }

Property Value

string

ConfirmationCodeSession

protected string ConfirmationCodeSession { get; set; }

Property Value

string

ErrorHappened

protected bool ErrorHappened { get; set; }

Property Value

bool

FinalSignInUrl

protected string FinalSignInUrl { get; set; }

Property Value

string

HasExternalReturnUrl

public bool HasExternalReturnUrl { get; set; }

Property Value

bool

IsAuthentication

protected static bool IsAuthentication { get; set; }

Property Value

bool

MFA

protected SignInBasePage.SignInUserMFA MFA { get; set; }

Property Value

SignInBasePage.SignInUserMFA

RedirectURL

protected string RedirectURL { get; set; }

Property Value

string

SuccessfulSignInHappened

protected static bool SuccessfulSignInHappened { get; set; }

Property Value

bool

UserId

protected static Guid UserId { get; set; }

Property Value

Guid

Methods

ClearSessionCache()

protected void ClearSessionCache()

LoginUser(string, string, bool, string, string)

protected void LoginUser(string username, string password, bool autologin, string authSource, string returnVerifiedUrl = null)

Parameters

username string
password string
autologin bool
authSource string
returnVerifiedUrl string

MFAPageURL(Guid, TUserAuthenticationFactor)

protected string MFAPageURL(Guid userId, TUserAuthenticationFactor mfa)

Parameters

userId Guid
mfa TUserAuthenticationFactor

Returns

string

OnBruteForceDetected(string, DateTime)

protected void OnBruteForceDetected(string username, DateTime lockedUntil)

Parameters

username string
lockedUntil DateTime

RedirectReturnVerifiedUrl(User, string)

public static string RedirectReturnVerifiedUrl(User user, string returnBackUrl)

Parameters

user User
returnBackUrl string

Returns

string

RedirectToMFAPage(Guid, TUserAuthenticationFactor)

protected void RedirectToMFAPage(Guid userId, TUserAuthenticationFactor mfa)

Parameters

userId Guid
mfa TUserAuthenticationFactor

RedirectToParent()

protected void RedirectToParent()

RedirectToSignInErrorPage(SignInErrorCodes, bool, string)

protected void RedirectToSignInErrorPage(SignInBasePage.SignInErrorCodes errorCode, bool htmlEncode = false, string message = "")

Parameters

errorCode SignInBasePage.SignInErrorCodes
htmlEncode bool
message string

RedirectToSignInPage(string)

protected void RedirectToSignInPage(string message = "")

Parameters

message string

RedirectToSignInSucceedPage(bool, Guid, string)

public static void RedirectToSignInSucceedPage(bool isAuthentication, Guid userId, string message = "")

Parameters

isAuthentication bool
userId Guid
message string

SignInSucceedPageURL(bool, Guid, string)

public static string SignInSucceedPageURL(bool isAuthentication, Guid userId, string message = "")

Parameters

isAuthentication bool
userId Guid
message string

Returns

string