Method Register
Register(Action<LoopbackWebAuthenticationBrokerProvider>?)
Registers this provider as the app's web authentication broker provider. Call it at startup (e.g. in the desktop Program.Main), before
WebAuthenticationBroker is first used.
Declaration
public static void Register(Action<LoopbackWebAuthenticationBrokerProvider>? configure = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<LoopbackWebAuthenticationBrokerProvider> | configure | An optional action that configures the provider instance. |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | A web authentication broker provider is already registered. |