Skip to content

JwtBearerOptionsExtensions Class

Reads the JWT Bearer settings the way every check of a bearer assertion has to.

C#
public static class JwtBearerOptionsExtensions

Inheritance System.Object → JwtBearerOptionsExtensions

Methods

JwtBearerOptionsExtensions.ResolveClockSkew(this JwtBearerOptions, SecurityProfileRequirements) Method

The tolerance actually applied to a bearer assertion: what this deployment set, or what the profile in force supplies.

C#
public static Abblix.Jwt.ClockSkew ResolveClockSkew(this Abblix.Oidc.Server.Common.Configuration.JwtBearerOptions options, Abblix.Oidc.Server.Features.ClientInformation.SecurityProfileRequirements requirements);

Parameters

options JwtBearerOptions

The JWT Bearer settings.

requirements SecurityProfileRequirements

The control bundle in force, which a per-client caller resolves from the client's own profile.

Returns

ClockSkew

Remarks

Every reader of the setting goes through here. Three readers each applying their own fallback are three chances to disagree about what an absent value meant, and the disagreement would surface as one check refusing an assertion another had just accepted.