OptionsLicenseJwtProvider Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.Licensing
OptionsLicenseJwtProvider Class
An ILicenseJwtProvider backed by the LicenseJwt value resolved through the options pattern.
public class OptionsLicenseJwtProvider : Abblix.Oidc.Server.Features.Licensing.ILicenseJwtProvider
Inheritance System.Object → OptionsLicenseJwtProvider
Implements ILicenseJwtProvider
Remarks
Returns a single-element async sequence containing the configured license JWT, or null when no license JWT has been configured. Used as the default provider when the host configures the license through standard configuration sources (appsettings, environment variables, etc.).
Constructors
OptionsLicenseJwtProvider(IOptions<OidcOptions>) Constructor
An ILicenseJwtProvider backed by the LicenseJwt value resolved through the options pattern.
public OptionsLicenseJwtProvider(Microsoft.Extensions.Options.IOptions<Abblix.Oidc.Server.Common.Configuration.OidcOptions> options);
Parameters
options Microsoft.Extensions.Options.IOptions<OidcOptions>
Remarks
Returns a single-element async sequence containing the configured license JWT, or null when no license JWT has been configured. Used as the default provider when the host configures the license through standard configuration sources (appsettings, environment variables, etc.).
Methods
OptionsLicenseJwtProvider.GetLicenseJwtAsync() Method
Asynchronously retrieves the license JWT from the OIDC service configuration.
public System.Collections.Generic.IAsyncEnumerable<string>? GetLicenseJwtAsync();
Implements GetLicenseJwtAsync()
Returns
System.Collections.Generic.IAsyncEnumerable<System.String>
A task representing the asynchronous operation, which upon completion contains the license JWT used for
validating the configuration and licensing terms of the OIDC service.