Skip to content

Commit

Permalink
null check
Browse files Browse the repository at this point in the history
  • Loading branch information
explunit committed Feb 13, 2019
1 parent fa45eba commit d417a4b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sustainsys.Saml2/SAML2P/Saml2PSecurityTokenHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ namespace Sustainsys.Saml2.Saml2P
/// </summary>
public class Saml2PSecurityTokenHandler : Saml2SecurityTokenHandler
{
public Saml2PSecurityTokenHandler( SPOptions spOptions)
public Saml2PSecurityTokenHandler(SPOptions spOptions)
{
if (spOptions == null)
{
throw new ArgumentNullException(nameof(spOptions));
}

Serializer = new Saml2PSerializer(spOptions);
}

Expand Down

0 comments on commit d417a4b

Please sign in to comment.