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
All our SDKs take an endpoint and a credential, which is almost always a TokenCredential define in azure_core, with implementations like DefaultAzureCredential in azure_identity. This is laid out in our guidelines.
I recommend taking a look at what we've done for our other Azure SDKs - any packages starting with "azure*" (as opposed to "microsoft.azure*" or something). I'm not sure about data lake specifically, but for storage in general we already have good examples you should match (type names, method names besides casing, param names, etc. - something we all do across official languages):
Specific to authentication, the TokenCredential is responsible for authenticating the user and getting a token. How that is attached to your request is up to you (and we have some helps in azure_core that may help, though not as many built out as with our other languages). In general, you should not roll your own authentication. Some libraries will, in addition, take a connection string. Follow whatever official languages are doing for guidance in those cases, though.
All our SDKs take an endpoint and a credential, which is almost always a
TokenCredential
define in azure_core, with implementations likeDefaultAzureCredential
in azure_identity. This is laid out in our guidelines.I recommend taking a look at what we've done for our other Azure SDKs - any packages starting with "azure*" (as opposed to "microsoft.azure*" or something). I'm not sure about data lake specifically, but for storage in general we already have good examples you should match (type names, method names besides casing, param names, etc. - something we all do across official languages):
For example,
Specific to authentication, the
TokenCredential
is responsible for authenticating the user and getting a token. How that is attached to your request is up to you (and we have some helps in azure_core that may help, though not as many built out as with our other languages). In general, you should not roll your own authentication. Some libraries will, in addition, take a connection string. Follow whatever official languages are doing for guidance in those cases, though.Originally posted by @heaths in #358 (comment)
The text was updated successfully, but these errors were encountered: