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
1818 .ConfigureServices (services => {
1919 services .AddPlugin (new AuthFeature (IdentityAuth .For <ApplicationUser >(
2020 options => {
21- options .SessionFactory = () => new CustomUserSession ();
21+ // options.SessionFactory = () => new CustomUserSession(); //optional
2222 options .CredentialsAuth ();
2323 options .AdminUsersFeature ();
2424 })));
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public class ConfigureAuth : IHostingStartup
135135 appHost .Plugins .Add (new AuthFeature (IdentityAuth .For <ApplicationUser >(
136136 // Configure ServiceStack's Integration with Identity Auth
137137 options => {
138- options .SessionFactory = () => new CustomUserSession ();
138+ // options.SessionFactory = () => new CustomUserSession(); //optional
139139 options .CredentialsAuth ();
140140 })
141141 ));
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public class ConfigureAuth : IHostingStartup
4141 .ConfigureServices (services => {
4242 services .AddPlugin (new AuthFeature (IdentityAuth .For <ApplicationUser >(
4343 options => {
44- options .SessionFactory = () => new CustomUserSession ();
44+ // options.SessionFactory = () => new CustomUserSession(); //optional
4545 options .CredentialsAuth ();
4646 options .JwtAuth (x => {
4747 // Enable JWT Auth Features...
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public class ConfigureAuth : IHostingStartup
8282 .ConfigureAppHost (appHost => {
8383 appHost .Plugins .Add (new AuthFeature (IdentityAuth .For <AppUser ,int >(
8484 options => {
85- options .SessionFactory = () => new CustomUserSession ();
85+ // options.SessionFactory = () => new CustomUserSession(); //optional
8686 options .CredentialsAuth ();
8787 })
8888 ));
Original file line number Diff line number Diff line change @@ -795,7 +795,7 @@ public class ConfigureAuth : IHostingStartup
795795 appHost .Plugins .Add (new AuthFeature (IdentityAuth .For <ApplicationUser >(
796796 // Configure ServiceStack's Integration with Identity Auth
797797 options => {
798- options .SessionFactory = () => new CustomUserSession ();
798+ // options.SessionFactory = () => new CustomUserSession(); //optional
799799 options .CredentialsAuth ();
800800 })
801801 ));
@@ -894,7 +894,7 @@ public class ConfigureAuth : IHostingStartup
894894 .ConfigureAppHost (appHost => {
895895 appHost .Plugins .Add (new AuthFeature (IdentityAuth .For <AppUser ,int >(
896896 options => {
897- options .SessionFactory = () => new CustomUserSession ();
897+ // options.SessionFactory = () => new CustomUserSession(); //optional
898898 options .CredentialsAuth ();
899899 })
900900 ));
Original file line number Diff line number Diff line change @@ -1012,7 +1012,7 @@ public class ConfigureAuth : IHostingStartup
10121012 .ConfigureServices (services => {
10131013 services .AddPlugin (new AuthFeature (IdentityAuth .For <ApplicationUser >(
10141014 options => {
1015- options .SessionFactory = () => new CustomUserSession ();
1015+ // options.SessionFactory = () => new CustomUserSession(); //optional
10161016 options .CredentialsAuth ();
10171017 options .AdminUsersFeature ();
10181018 })));
@@ -1185,7 +1185,7 @@ public class ConfigureAuth : IHostingStartup
11851185 .ConfigureServices (services => {
11861186 services .AddPlugin (new AuthFeature (IdentityAuth .For <ApplicationUser >(
11871187 options => {
1188- options .SessionFactory = () => new CustomUserSession ();
1188+ // options.SessionFactory = () => new CustomUserSession(); //optional
11891189 options .CredentialsAuth ();
11901190 options .JwtAuth (x => {
11911191 // Enable JWT Auth Features...
You can’t perform that action at this time.
0 commit comments