Skip to content

Commit

Permalink
Added ShouldSerializeSigningKeys() method back (always returns false)
Browse files Browse the repository at this point in the history
  • Loading branch information
mafurman committed Oct 18, 2019
1 parent fd0dbdd commit 1dd82ed
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,17 @@ public bool ShouldSerializeResponseTypesSupported()
return ResponseTypesSupported.Count > 0;
}

/// <summary>
/// Gets a bool that determines if the 'SigningKeys' property should be serialized.
/// This is used by Json.NET in order to conditionally serialize properties.
/// </summary>
/// <return>This method always returns false.</return>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool ShouldSerializeSigningKeys()
{
return false;
}

/// <summary>
/// Gets a bool that determines if the 'scopes_supported' (ScopesSupported) property should be serialized.
/// This is used by Json.NET in order to conditionally serialize properties.
Expand Down

0 comments on commit 1dd82ed

Please sign in to comment.