Пример #1
0
 public Logout(IInternalLogger logger, SAML2.Config.Saml2Configuration config)
 {
     if (logger == null) throw new ArgumentNullException("logger");
     if (config == null) throw new ArgumentNullException("config"); 
     this.logger = logger;
     this.config = config;
 }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (EncodeDecodeTextFieldMethod != null)
            {
                EncodeDecodeTextFieldMethod.Dispose();
                EncodeDecodeTextFieldMethod = null;
            }

            if (DecodeButton != null)
            {
                DecodeButton.Dispose();
                DecodeButton = null;
            }

            if (EncodeButton != null)
            {
                EncodeButton.Dispose();
                EncodeButton = null;
            }

            if (GenerateMessages != null)
            {
                GenerateMessages.Dispose();
                GenerateMessages = null;
            }

            if (IdentityProviderField != null)
            {
                IdentityProviderField.Dispose();
                IdentityProviderField = null;
            }

            if (IdentityProvierProtocol != null)
            {
                IdentityProvierProtocol.Dispose();
                IdentityProvierProtocol = null;
            }

            if (IDPInitiated != null)
            {
                IDPInitiated.Dispose();
                IDPInitiated = null;
            }

            if (IDPPortInput != null)
            {
                IDPPortInput.Dispose();
                IDPPortInput = null;
            }

            if (MsgOutlet != null)
            {
                MsgOutlet.Dispose();
                MsgOutlet = null;
            }

            if (ResultsOutlet != null)
            {
                ResultsOutlet.Dispose();
                ResultsOutlet = null;
            }

            if (SAML1 != null)
            {
                SAML1.Dispose();
                SAML1 = null;
            }

            if (SAML2 != null)
            {
                SAML2.Dispose();
                SAML2 = null;
            }

            if (ServiceProviderField != null)
            {
                ServiceProviderField.Dispose();
                ServiceProviderField = null;
            }

            if (SPInitiated != null)
            {
                SPInitiated.Dispose();
                SPInitiated = null;
            }

            if (TargetURLField != null)
            {
                TargetURLField.Dispose();
                TargetURLField = null;
            }

            if (UserInputOutlet != null)
            {
                UserInputOutlet.Dispose();
                UserInputOutlet = null;
            }
        }
Пример #3
0
 public SamlMessage(IFormCollection form, IOwinContext context, SAML2.Config.Saml2Configuration config) : this(form)
 {
     this.context = context;
     this.config = config;
 }