2 instantiations of ClientFormsIdentity
System.Web.Extensions (2)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (2)
66
Thread.CurrentPrincipal = new ClientRolePrincipal(new
ClientFormsIdentity
(username, password,
359
Thread.CurrentPrincipal = new ClientRolePrincipal(new
ClientFormsIdentity
(username, password, this, "ClientForms", true, cookies));
22 references to ClientFormsIdentity
System.Web.Extensions (22)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (6)
199
if (p == null || !(p.Identity is
ClientFormsIdentity
))
203
CookieContainer cookies = ((
ClientFormsIdentity
)p.Identity).AuthenticationCookies;
290
if (Thread.CurrentPrincipal != null && Thread.CurrentPrincipal.Identity is
ClientFormsIdentity
)
300
if ((Thread.CurrentPrincipal is ClientRolePrincipal) && (Thread.CurrentPrincipal.Identity is
ClientFormsIdentity
) && Thread.CurrentPrincipal.Identity.Name == username)
302
cookies = ((
ClientFormsIdentity
)Thread.CurrentPrincipal.Identity).AuthenticationCookies;
355
if ( !(Thread.CurrentPrincipal is ClientRolePrincipal) || !(Thread.CurrentPrincipal.Identity is
ClientFormsIdentity
) || Thread.CurrentPrincipal.Identity.Name != username)
ClientServices\Providers\ClientRoleProvider.cs (4)
135
if (!_HonorCookieExpiry && _Roles.Length < 1 && (p.Identity is
ClientFormsIdentity
))
137
((
ClientFormsIdentity
)p.Identity).RevalidateUser();
167
if (identity is
ClientFormsIdentity
)
168
cookies = ((
ClientFormsIdentity
)identity).AuthenticationCookies;
ClientServices\Providers\ClientSettingsProvider.cs (12)
81
if (id is
ClientFormsIdentity
)
82
cookies = ((
ClientFormsIdentity
)id).AuthenticationCookies;
454
ClientFormsIdentity
id = Thread.CurrentPrincipal.Identity as
ClientFormsIdentity
;
477
if (id is
ClientFormsIdentity
)
478
cookies = ((
ClientFormsIdentity
)id).AuthenticationCookies;
524
object [] paramValues = new object [] {propertyNames, id.IsAuthenticated && (id is
ClientFormsIdentity
) };
590
ClientFormsIdentity
id = Thread.CurrentPrincipal.Identity as
ClientFormsIdentity
;
629
if (id is
ClientFormsIdentity
)
630
cookies = ((
ClientFormsIdentity
)id).AuthenticationCookies;
647
object [] paramValues = new object [] {propertyValues, id.IsAuthenticated && (id is
ClientFormsIdentity
) };