Ejemplo n.º 1
0
 /// <summary>
 /// Initializes an instance of <see cref="Saml2SecurityToken"/> from a <see cref="Saml2Assertion"/>.
 /// </summary>
 /// <param name="assertion">A <see cref="Saml2Assertion"/> to initialize from.</param>
 /// <exception cref="ArgumentNullException">if <paramref name="assertion"/> is null.</exception>
 public Saml2SecurityToken(Saml2Assertion assertion)
 {
     Assertion = assertion ?? throw LogArgumentNullException(nameof(assertion));
 }