ApiKeyAuthenticationOptions.ApplyTo method

Helper to copy values from a user-supplied ApiKeyAuthenticationOptions instance to the instance created by the framework inside AddApiKey(). Reassigning the local variable (opts = source) would not work because only the local reference changes – the framework keeps the original instance

public void ApplyTo(ApiKeyAuthenticationOptions target)
parameter description
target The target instance to which values will be copied.

See Also