File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public class ConfigureAuth : IHostingStartup
18
18
.ConfigureServices (services => {
19
19
services .AddPlugin (new AuthFeature (IdentityAuth .For <ApplicationUser >(
20
20
options => {
21
- options .SessionFactory = () => new CustomUserSession ();
21
+ // options.SessionFactory = () => new CustomUserSession(); //optional
22
22
options .CredentialsAuth ();
23
23
options .AdminUsersFeature ();
24
24
})));
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public class ConfigureAuth : IHostingStartup
135
135
appHost .Plugins .Add (new AuthFeature (IdentityAuth .For <ApplicationUser >(
136
136
// Configure ServiceStack's Integration with Identity Auth
137
137
options => {
138
- options .SessionFactory = () => new CustomUserSession ();
138
+ // options.SessionFactory = () => new CustomUserSession(); //optional
139
139
options .CredentialsAuth ();
140
140
})
141
141
));
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public class ConfigureAuth : IHostingStartup
41
41
.ConfigureServices (services => {
42
42
services .AddPlugin (new AuthFeature (IdentityAuth .For <ApplicationUser >(
43
43
options => {
44
- options .SessionFactory = () => new CustomUserSession ();
44
+ // options.SessionFactory = () => new CustomUserSession(); //optional
45
45
options .CredentialsAuth ();
46
46
options .JwtAuth (x => {
47
47
// Enable JWT Auth Features...
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public class ConfigureAuth : IHostingStartup
82
82
.ConfigureAppHost (appHost => {
83
83
appHost .Plugins .Add (new AuthFeature (IdentityAuth .For <AppUser ,int >(
84
84
options => {
85
- options .SessionFactory = () => new CustomUserSession ();
85
+ // options.SessionFactory = () => new CustomUserSession(); //optional
86
86
options .CredentialsAuth ();
87
87
})
88
88
));
Original file line number Diff line number Diff line change @@ -795,7 +795,7 @@ public class ConfigureAuth : IHostingStartup
795
795
appHost .Plugins .Add (new AuthFeature (IdentityAuth .For <ApplicationUser >(
796
796
// Configure ServiceStack's Integration with Identity Auth
797
797
options => {
798
- options .SessionFactory = () => new CustomUserSession ();
798
+ // options.SessionFactory = () => new CustomUserSession(); //optional
799
799
options .CredentialsAuth ();
800
800
})
801
801
));
@@ -894,7 +894,7 @@ public class ConfigureAuth : IHostingStartup
894
894
.ConfigureAppHost (appHost => {
895
895
appHost .Plugins .Add (new AuthFeature (IdentityAuth .For <AppUser ,int >(
896
896
options => {
897
- options .SessionFactory = () => new CustomUserSession ();
897
+ // options.SessionFactory = () => new CustomUserSession(); //optional
898
898
options .CredentialsAuth ();
899
899
})
900
900
));
Original file line number Diff line number Diff line change @@ -1012,7 +1012,7 @@ public class ConfigureAuth : IHostingStartup
1012
1012
.ConfigureServices (services => {
1013
1013
services .AddPlugin (new AuthFeature (IdentityAuth .For <ApplicationUser >(
1014
1014
options => {
1015
- options .SessionFactory = () => new CustomUserSession ();
1015
+ // options.SessionFactory = () => new CustomUserSession(); //optional
1016
1016
options .CredentialsAuth ();
1017
1017
options .AdminUsersFeature ();
1018
1018
})));
@@ -1185,7 +1185,7 @@ public class ConfigureAuth : IHostingStartup
1185
1185
.ConfigureServices (services => {
1186
1186
services .AddPlugin (new AuthFeature (IdentityAuth .For <ApplicationUser >(
1187
1187
options => {
1188
- options .SessionFactory = () => new CustomUserSession ();
1188
+ // options.SessionFactory = () => new CustomUserSession(); //optional
1189
1189
options .CredentialsAuth ();
1190
1190
options .JwtAuth (x => {
1191
1191
// Enable JWT Auth Features...
You can’t perform that action at this time.
0 commit comments