getAuthUrl method

Uri getAuthUrl()

Implementation

Uri getAuthUrl() {
  ///Basically merges the various components of the provided params
  ///to generate one link for getting credentials before placing a request.
  Uri uri = new Uri(
      scheme: 'https',
      host: baseUrl,
      path: '/oauth/v1/generate',
      queryParameters: <String, String>{'grant_type': 'client_credentials'});
  return uri;
}