public static TService GetClient <TService>(string serviceUri, string applicationId, string applicationSecret, TokenStoreType tokenStore) { return(GetClient <TService>(serviceUri, applicationId, applicationSecret, TokenStoreFactory.GetTokenStore(tokenStore))); }
public static TService GetClient <TService>(string applicationId, string applicationSecret) { return(GetClient <TService>(ServiceClient.DEFAULT_API_URI, applicationId, applicationSecret, TokenStoreFactory.GetTokenStore())); }
public OAuthAuthorizationClient(string serviceUri, string applicationId, string applicationSecret, TokenStoreType type) : this(serviceUri, applicationId, applicationSecret, TokenStoreFactory.GetTokenStore(type)) { }