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
in fact, using the _auth field instead of token in the .upmconfig.toml will break the credential UI.
A solution could be to refactor the CredentialManager and support two types of NPMCredential objects using polymorphism. Some of the logic from the Write() method could be moved to an abstract method in NPMCredential to support the different credential types.
Or another option would be to simply add the _auth field to the current implementation of NPMCredential and handle it accordingly.
The text was updated successfully, but these errors were encountered:
I noticed that this package does not support the basic-auth tokens i.e.
in fact, using the
_auth
field instead oftoken
in the.upmconfig.toml
will break the credential UI.A solution could be to refactor the
CredentialManager
and support two types ofNPMCredential
objects using polymorphism. Some of the logic from theWrite()
method could be moved to an abstract method inNPMCredential
to support the different credential types.Or another option would be to simply add the
_auth
field to the current implementation ofNPMCredential
and handle it accordingly.The text was updated successfully, but these errors were encountered: