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
This same methodology should be implemented in IInstanceClient.
Tasks
Add optional StorageAuthenticationMethod and CancellationToken parameters to all applicable methods on IInstanceClient
Default/undefined usage should resolve to StorageAuthenticationMethod.CurrentUser
Inject IAuthenticationTokenResolver and use this for JwtToken resolution (example)
Update unit tests to observe that correct tokens are used in the various scenarios. This can be a bit tedious, and borrowin inspiration from the DataClientTests may be helpful
Description
IDataClientrecently implemented a new optional authentication override.This same methodology should be implemented in
IInstanceClient.Tasks
StorageAuthenticationMethodandCancellationTokenparameters to all applicable methods onIInstanceClientStorageAuthenticationMethod.CurrentUserIAuthenticationTokenResolverand use this for JwtToken resolution (example)