41 references to ApplicationServiceHelper
System.Web.Extensions (41)
ApplicationServices\AuthenticationService.cs (4)
101
ApplicationServiceHelper
.EnsureAuthenticationServiceEnabled(HttpContext.Current, true);
116
ApplicationServiceHelper
.EnsureAuthenticationServiceEnabled(HttpContext.Current, true);
125
ApplicationServiceHelper
.EnsureAuthenticationServiceEnabled(HttpContext.Current, true);
134
ApplicationServiceHelper
.EnsureAuthenticationServiceEnabled(HttpContext.Current, false);
ApplicationServices\ProfileService.cs (12)
68
ApplicationServiceHelper
.EnsureProfileServiceEnabled();
70
ApplicationServiceHelper
.EnsureAuthenticated(HttpContext.Current);
87
Dictionary<string, object> allowedGet =
ApplicationServiceHelper
.ProfileAllowedGet;
118
ApplicationServiceHelper
.EnsureProfileServiceEnabled();
120
ApplicationServiceHelper
.EnsureAuthenticated(HttpContext.Current);
131
Dictionary<string, object> allowedGet =
ApplicationServiceHelper
.ProfileAllowedGet;
162
ApplicationServiceHelper
.EnsureProfileServiceEnabled();
165
ApplicationServiceHelper
.EnsureAuthenticated(HttpContext.Current);
173
Dictionary<string, object> allowedSet =
ApplicationServiceHelper
.ProfileAllowedSet;
242
ApplicationServiceHelper
.EnsureProfileServiceEnabled();
247
Collection<ProfilePropertyMetadata> metadatas =
ApplicationServiceHelper
.GetProfilePropertiesMetadata();
285
IPrincipal user =
ApplicationServiceHelper
.GetCurrentUser(context);
ApplicationServices\RoleService.cs (6)
67
ApplicationServiceHelper
.EnsureRoleServiceEnabled();
70
IPrincipal user =
ApplicationServiceHelper
.GetCurrentUser(HttpContext.Current);
71
string username =
ApplicationServiceHelper
.GetUserName(user);
89
ApplicationServiceHelper
.EnsureRoleServiceEnabled();
92
IPrincipal user =
ApplicationServiceHelper
.GetCurrentUser(HttpContext.Current);
93
string username =
ApplicationServiceHelper
.GetUserName(user);
Handlers\ScriptModule.cs (1)
40
if(!
ApplicationServiceHelper
.AuthenticationServiceEnabled || !RestHandlerFactory.IsRestRequest(context)) {
Profile\ProfileService.cs (10)
42
Dictionary<string, object> allowedGet =
ApplicationServiceHelper
.ProfileAllowedGet;
87
Dictionary<string, object> allowedSet =
ApplicationServiceHelper
.ProfileAllowedSet;
133
ApplicationServiceHelper
.EnsureProfileServiceEnabled();
137
ApplicationServiceHelper
.EnsureAuthenticated(context);
145
ApplicationServiceHelper
.EnsureProfileServiceEnabled();
149
ApplicationServiceHelper
.EnsureAuthenticated(context);
157
ApplicationServiceHelper
.EnsureProfileServiceEnabled();
158
return
ApplicationServiceHelper
.GetProfilePropertiesMetadata();
163
ApplicationServiceHelper
.EnsureProfileServiceEnabled();
167
ApplicationServiceHelper
.EnsureAuthenticated(context);
Security\AuthenticationService.cs (3)
16
ApplicationServiceHelper
.EnsureAuthenticationServiceEnabled(HttpContext.Current, true);
31
ApplicationServiceHelper
.EnsureAuthenticationServiceEnabled(HttpContext.Current, false);
36
ApplicationServiceHelper
.EnsureAuthenticationServiceEnabled(HttpContext.Current, false);
Security\RoleService.cs (2)
17
ApplicationServiceHelper
.EnsureRoleServiceEnabled();
27
ApplicationServiceHelper
.EnsureRoleServiceEnabled();
UI\AuthenticationServiceManager.cs (1)
57
bool authEnabled =
ApplicationServiceHelper
.AuthenticationServiceEnabled;
UI\ProfileServiceManager.cs (1)
84
if (
ApplicationServiceHelper
.ProfileServiceEnabled) {
UI\RoleServiceManager.cs (1)
67
bool enabled =
ApplicationServiceHelper
.RoleServiceEnabled;