Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Duende.​IdentityServer.​Extensions.​HttpResponseExtensions

Assembly: Duende.IdentityServer

Inheritance: object → HttpResponseExtensions

Methods

WriteJsonAsync​(Microsoft.​AspNetCore.​Http.​HttpResponse response, object o, string contentType = null)
WriteJsonAsync​(Microsoft.​AspNetCore.​Http.​HttpResponse response, string json, string contentType = null)
public static void
SetCache​(Microsoft.​AspNetCore.​Http.​HttpResponse response, int maxAge, string[] varyBy)
public static void
SetNoCache​(Microsoft.​AspNetCore.​Http.​HttpResponse response)
WriteHtmlAsync​(Microsoft.​AspNetCore.​Http.​HttpResponse response, string html)
public static void
AddScriptCspHeaders​(Microsoft.​AspNetCore.​Http.​HttpResponse response, Configuration.​CspOptions options, string hash)
public static void
AddStyleCspHeaders​(Microsoft.​AspNetCore.​Http.​HttpResponse response, Configuration.​CspOptions options, string hash, string frameSources)
public static void
AddCspHeaders​(Microsoft.​AspNetCore.​Http.​IHeaderDictionary headers, Configuration.​CspOptions options, string cspHeader)
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object