Class AsyncTendukeConfigurationBuilder
A type used to build the configuration for a 10Duke SDK when asynchronous operations are requested as part of constructing the configuration (for example loading the OIDC configuration from the discovery endpoint).
public class AsyncTendukeConfigurationBuilder
- Inheritance
-
AsyncTendukeConfigurationBuilder
- Inherited Members
- Extension Methods
Properties
SynchronousBuilder
Accesses the synchronous builder that will be used to load any non-asynchronous configuration options.
public TendukeConfigurationBuilder SynchronousBuilder { get; }
Property Value
Methods
BuildAsync()
Builds a TendukeConfig with the values from the registered sources.
public Task<TendukeConfig> BuildAsync()
Returns
- Task<TendukeConfig>
Task<TResult> constructed from configured sources.
Remarks
If the LicensingApiUrl cannot be set an exception will be thrown. Otherwise a TendukeConfig will be returned.
Sources are loaded in the reverse order they were added. Each source will overwrite previous sources. If a key is present in more that one source the last source loaded will be the final value.
Exceptions
- InvalidOperationException
The configured sources could not be loaded into a valid TendukeConfig object.