public PlatformSecurity(IPlatformSession session, IPlatformUser user) : base(session, user) { Contract.Requires(session != null); Contract.Requires(user != null); _sso = new SSOModule(); _ssoManager = _sso.ResolveSSOManager(); }
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(); }
public PortunusController(ISSOManager ssoManager) { this.ssoManager = ssoManager; }