Esempio n. 1
0
        internal OpenIDJwtFormBinding(OpenIDDocument document, XmlSignatureAlgorithmType?signatureAlgorithm)
        {
            this.BindingDirection   = document.BindingDirection;
            this.SignatureAlgorithm = signatureAlgorithm;

            if (this.SignatureAlgorithm == null)
            {
                this.SignatureAlgorithm = Cryptography.XmlSignatureAlgorithmType.RsaSha256;
            }

            this.Document = document.GetJson();
        }
Esempio n. 2
0
        internal OpenIDJwtStreamBinding(OpenIDDocument document)
        {
            this.BindingDirection = document.BindingDirection;

            this.Document = document.GetJson();
        }