Exemplo 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();
        }
Exemplo n.º 2
0
        internal OpenIDJwtStreamBinding(OpenIDDocument document)
        {
            this.BindingDirection = document.BindingDirection;

            this.Document = document.GetJson();
        }