BasicAuthenticationOptions.ApplyTo method
Helper to copy values from a user-supplied BasicAuthenticationOptions instance to the instance created by the framework inside AddBasic(). Reassigning the local variable (opts = source) would not work because only the local reference changes – the framework keeps the original instance.
public void ApplyTo(BasicAuthenticationOptions target)
| parameter | description |
|---|---|
| target | The target instance to which values will be copied. |
See Also
- class BasicAuthenticationOptions
- namespace Kestrun.Authentication