#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Features\.Licensing](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Licensing 'Abblix\.Oidc\.Server\.Features\.Licensing')

## ILicenseJwtProvider Interface

Defines a provider for accessing the license JSON Web Token \(JWT\) used in OIDC service configuration\.

```csharp
public interface ILicenseJwtProvider
```

Derived  
↳ [OptionsLicenseJwtProvider](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Licensing.OptionsLicenseJwtProvider 'Abblix\.Oidc\.Server\.Features\.Licensing\.OptionsLicenseJwtProvider')  
↳ [StaticLicenseJwtProvider](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Licensing.StaticLicenseJwtProvider 'Abblix\.Oidc\.Server\.Features\.Licensing\.StaticLicenseJwtProvider')

### Remarks
This interface abstracts the mechanism for retrieving the license JWT, which is essential for validating the
configuration and operational scope of the OIDC service based on licensing terms\. Implementations of this interface
should ensure secure and efficient access to the license JWT, typically stored in service configuration settings\.
### Methods

## ILicenseJwtProvider\.GetLicenseJwtAsync\(\) Method {#Abblix.Oidc.Server.Features.Licensing.ILicenseJwtProvider.GetLicenseJwtAsync()}

Asynchronously gets the license JWT string\.

```csharp
System.Collections.Generic.IAsyncEnumerable<string>? GetLicenseJwtAsync();
```

#### Returns
[System\.Collections\.Generic\.IAsyncEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.iasyncenumerable-1 'System\.Collections\.Generic\.IAsyncEnumerable\`1')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.iasyncenumerable-1 'System\.Collections\.Generic\.IAsyncEnumerable\`1')  
A task representing the asynchronous operation, which upon completion contains the license JWT used for
configuration and licensing validation of the OIDC service\.
