Class JarOptions
JAR (RFC 9101) — JWT-Secured Authorization Request. Applies only when
Features.EnableJar is true.
public sealed class JarOptions
Inheritance
Properties
AllowedSigningAlgorithms
Signature algorithms accepted on a request object. Asymmetric only — see
public string[] AllowedSigningAlgorithms { get; set; }
ClockSkew
Clock-skew tolerance when checking exp / nbf / iat. Default: 60 seconds.
public TimeSpan ClockSkew { get; set; }
EnableRequestUri
Accept a request_uri parameter (the request object by reference, fetched over HTTP)
public bool EnableRequestUri { get; set; }
EnforcementMode
How to treat a mismatch between the request object's alg and the client's stored
public JarEnforcementMode EnforcementMode { get; set; }
MaxRequestObjectLength
Maximum accepted size of the request parameter in characters. Default: 50 000.
public int MaxRequestObjectLength { get; set; }
RequestUriAllowPrivateNetworkTargets
Allow a request_uri to resolve to a non-public address (loopback, private, link-local).
public bool RequestUriAllowPrivateNetworkTargets { get; set; }
RequestUriFetchTimeout
Timeout for fetching a request_uri. Default: 5 seconds — an authorization request is
public TimeSpan RequestUriFetchTimeout { get; set; }
RequestUriRequireHttps
Require https for a request_uri. Default: true. Over plain
public bool RequestUriRequireHttps { get; set; }
RequireExpiration
Require that exp be present. RFC 9101 §4 lists it as required; some clients omit it.
public bool RequireExpiration { get; set; }
RequireRequestUriRegistration
Fetch a request_uri only when it equals one of the client's registered request_uris
public bool RequireRequestUriRegistration { get; set; }