Authentication Credential Class
Basic Auth credentials for use with a REST Service Client.
public class BasicAuthenticationCredential implements TokenCredential
|BasicAuthenticationCredential(String username, String password)||
Creates a basic authentication credential.
Asynchronously get a token for a given resource/audience. This method is called automatically by Azure SDK client libraries. You may call this method directly, but you must also handle token caching and token refreshing.