示例#1
0
        public PlatformSecurity(IPlatformSession session, IPlatformUser user)
            : base(session, user)
        {
            Contract.Requires(session != null);
            Contract.Requires(user != null);

            _sso = new SSOModule();
            _ssoManager = _sso.ResolveSSOManager();
        }
示例#2
0
        public static bool ShouldSignUp(OutlookVersion.Version version, ISSOManager ssoManager)
        {
            if (!EnabledFeatures.SecureFileTransferEnabled)
                return false;

            return version >= OutlookVersion.Version.Outlook2007
                           && string.IsNullOrEmpty(OptionApi.GetString("SendLinkCloudStorageLoginName"))
                           && string.IsNullOrEmpty(OptionApi.GetString("SendLinkDeviceToken"))
                           && OptionApi.GetBool("SendLinkAutoRegistration")
                           && !ssoManager.ShouldUseSSOAuthentication();
        }
示例#3
0
 public PortunusController(ISSOManager ssoManager)
 {
     this.ssoManager = ssoManager;
 }