OAuth2Options.ApplyTo method (1 of 2)
Helper to copy values from a user-supplied OAuth2Options instance to the instance created by the framework inside AddOAuth(). Reassigning the local variable (opts = source) would not work because only the local reference changes – the framework keeps the original instance.
public void ApplyTo(OAuth2Options target)
| parameter | description |
|---|---|
| target | The target OAuth2Options instance to copy values to. |
See Also
- class OAuth2Options
- namespace Kestrun.Authentication
OAuth2Options.ApplyTo method (2 of 2)
Apply these options to the target OAuthOptions instance.
public void ApplyTo(OAuthOptions target)
| parameter | description |
|---|---|
| target | The target OAuthOptions instance to apply settings to. |
See Also
- class OAuth2Options
- namespace Kestrun.Authentication