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(); }
internal OpenIDJwtStreamBinding(OpenIDDocument document) { this.BindingDirection = document.BindingDirection; this.Document = document.GetJson(); }