Skip to main content

ResponseJwtBuilder Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.ResponseObject

ResponseJwtBuilder Class

Default IResponseJwtBuilder: resolves the client, builds the JARM (JWT Secured Authorization Response Mode) response JWT and hands it to IClientJwtFormatter for signing and — when the client registered an encryption algorithm — encryption to the client's public key (a Nested JWT per JARM §2.2).

public class ResponseJwtBuilder : Abblix.Oidc.Server.Features.ResponseObject.IResponseJwtBuilder

Inheritance System.Object → ResponseJwtBuilder

Implements IResponseJwtBuilder

Constructors

ResponseJwtBuilder(IClientInfoProvider, IClientJwtFormatter, IIssuerProvider, TimeProvider, IOptions<OidcOptions>) Constructor

Default IResponseJwtBuilder: resolves the client, builds the JARM (JWT Secured Authorization Response Mode) response JWT and hands it to IClientJwtFormatter for signing and — when the client registered an encryption algorithm — encryption to the client's public key (a Nested JWT per JARM §2.2).

public ResponseJwtBuilder(Abblix.Oidc.Server.Features.ClientInformation.IClientInfoProvider clientInfoProvider, Abblix.Oidc.Server.Features.Tokens.Formatters.IClientJwtFormatter clientJwtFormatter, Abblix.Oidc.Server.Features.Issuer.IIssuerProvider issuerProvider, System.TimeProvider timeProvider, Microsoft.Extensions.Options.IOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions> options);

Parameters

clientInfoProvider IClientInfoProvider

Resolves the client the response is intended for.

clientJwtFormatter IClientJwtFormatter

Signs and optionally encrypts the assembled JARM response JWT.

issuerProvider IIssuerProvider

Supplies the issuer identifier placed in the iss claim.

timeProvider System.TimeProvider

Supplies the current time for the iat/exp claims.

options Microsoft.Extensions.Options.IOptions<OidcOptions>

Supplies the JARM response-JWT lifetime (exp window).