コード例 #1
0
 public static TService GetClient <TService>(string serviceUri, string applicationId, string applicationSecret, TokenStoreType tokenStore)
 {
     return(GetClient <TService>(serviceUri, applicationId, applicationSecret, TokenStoreFactory.GetTokenStore(tokenStore)));
 }
コード例 #2
0
 public static TService GetClient <TService>(string applicationId, string applicationSecret)
 {
     return(GetClient <TService>(ServiceClient.DEFAULT_API_URI, applicationId, applicationSecret, TokenStoreFactory.GetTokenStore()));
 }
コード例 #3
0
 public OAuthAuthorizationClient(string serviceUri, string applicationId, string applicationSecret, TokenStoreType type)
     : this(serviceUri, applicationId, applicationSecret, TokenStoreFactory.GetTokenStore(type))
 {
 }