Skip to main content

MediaTypes Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Common.Constants

MediaTypes Class

Represents common media types used in HTTP requests and responses.

public static class MediaTypes

Inheritance System.Object → MediaTypes

Fields

MediaTypes.FormUrlEncoded Field

Represents the "application/x-www-form-urlencoded" media type for HTML form data.

public const string FormUrlEncoded = "application/x-www-form-urlencoded";

Field Value

System.String

MediaTypes.Javascript Field

Represents the "text/javascript" media type for JavaScript code.

public const string Javascript = "text/javascript";

Field Value

System.String

MediaTypes.Jwt Field

Represents the "application/jwt" media type for JSON Web Tokens (JWT).

public const string Jwt = "application/jwt";

Field Value

System.String

MediaTypes.TokenIntrospectionJwt Field

Represents the "application/token-introspection+jwt" media type for a JWT-formatted token introspection response (RFC 9701 §4): the media type a client sends in Accept to request a JWT response, and the Content-Type the server returns it with.

public const string TokenIntrospectionJwt = "application/token-introspection+jwt";

Field Value

System.String