SecurityStrategy、SecurityOptions 的设置与意义

参考:   Security - How to use custom logon parameters and strategies with several authentication providers in non-XAF applications

              How to use a custom authentication that validates the user on each request with ASP.NET Core Mobile service

              How to: Use the Integrated Mode of the Security System in Non-XAF Applications

              Login to an OData service with XAF Security does not work

===========================================================================================================

        SecurityOptions (DevExpress.ExpressApp.Security.SecurityOptions) 

             namespace DevExpress.ExpressApp.Security
            {
                      public class SecurityOptions
                       {
                              public SecurityOptions();

                             public Type RoleType { get; set; }
                             public Type UserType { get; set; }
                             public Type UserLoginInfoType { get; set; }
                             public bool SupportNavigationPermissionsForTypes { get; set; }
                             public SecurityEvents Events { get; set; }
                       }
          }

          namespace DevExpress.ExpressApp.Security
          {
                     public class AuthenticationStandardProviderOptions
                     {
                             public AuthenticationStandardProviderOptions();

                             public Type LogonParametersType { get; set; }
                             public  bool IsSupportChangePassword { get; set; }
                     }
           }

         https://supportcenter.devexpress.com/ticket/details/t995870/how-to-use-a-custom-securitystrategy-in-xaf-blazor

         SecurityStrategyComplex  类与成员:

         https://docs.devexpress.com/eXpressAppFramework/DevExpress.ExpressApp.Security.SecurityStrategyComplex

         https://docs.devexpress.com/eXpressAppFramework/DevExpress.ExpressApp.Security.SecurityStrategyComplex._members?p=netstandard

 

posted @ 2021-07-13 10:42  eccorp  阅读(119)  评论(0编辑  收藏  举报