Set of callbacks that can be used as extension points for various events.
 public Options(SPOptions spOptions)
 {
     Notifications = new KentorAuthServicesNotifications();
     SPOptions     = spOptions;
     if (SPOptions.Logger == null)
     {
         SPOptions.Logger = new NullLoggerAdapter();
     }
 }
        public KentorAuthServicesAuthenticationOptions(bool loadConfiguration)
            : base(Constants.DefaultAuthenticationType)
        {
            AuthenticationMode = AuthenticationMode.Active;
            Description.Caption = Constants.DefaultCaption;
            Notifications = new KentorAuthServicesNotifications();

            if (loadConfiguration)
            {
                SPOptions = new SPOptions(KentorAuthServicesSection.Current);
                KentorAuthServicesSection.Current.IdentityProviders.RegisterIdentityProviders(this);
                KentorAuthServicesSection.Current.Federations.RegisterFederations(this);
            }
        }
Пример #3
0
 public Options(SPOptions spOptions)
 {
     Notifications = new KentorAuthServicesNotifications();
     SPOptions     = spOptions;
 }
Пример #4
0
 public Options(SPOptions spOptions)
 {
     Notifications = new KentorAuthServicesNotifications();
     SPOptions = spOptions;
 }