/// <summary>
 /// returns token as String.
 /// </summary>
 /// <returns>
 /// token as String
 /// </returns>
 public virtual String getAuthenticationToken()
 {
     if (authToken != null)
     {
         Debug.WriteLine("Token is already generated");
     }
     else
     {
         authToken = OAuthFactory.getOAuthService().getAuthenticationToken();
     }
     return(authToken);
 }
 /// <summary>
 /// Sets the instance.
 /// </summary>
 /// <param name="service">The service.</param>
 public static void setInstance(BaseOAuthService service)
 {
     INSTANCE = new OAuthFactory(service);
 }