LicenseLoader Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.Licensing
LicenseLoader Class
Handles the loading and validation of application licenses provided as JSON Web Tokens (JWT).
public static class LicenseLoader
Inheritance System.Object → LicenseLoader
Remarks
This class is responsible for validating the integrity and authenticity of the license JWT against predefined criteria, including issuer validation and signature verification. Upon successful validation, it extracts and applies license details to configure application features and limits accordingly.
Methods
LicenseLoader.LoadAsync(string) Method
Asynchronously loads and validates the license JWT, applying the license details upon successful validation.
public static System.Threading.Tasks.Task LoadAsync(string licenseJwt);
Parameters
licenseJwt System.String
The license JWT string to be loaded and validated.
Returns
System.Threading.Tasks.Task
A System.Threading.Tasks.Task representing the asynchronous operation.
Exceptions
System.InvalidOperationException
Thrown if the JWT type is not valid or if the license cannot be validated.
UnexpectedTypeException
Thrown if an unexpected validation result type is encountered.