You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ForceClient.cs can only log in with the username–password flow. This makes it difficult to use other flows (Web Server, Client Credentials, Refresh Token) that are already implemented in AuthenticationClient.cs.
Proposal: introduce a simple IAuthProvider strategy interface. Each provider wraps the existing AuthenticationClient methods and returns an AccessTokenResponse. ForceClient consumes the result and initializes itself.
Would you like me to open a PR to implement this?
bzbetty, anthonyreilly, zmerdev, michelangelo-lockton and canyon-online