public static ISoundCloudApiAuthenticated CreateClient(string clientId, 
                                               string secretKey, 
                                               string authorizationCode,
                                               IPasswordCredentialsState passwordCredentialsState)
 {
     return new SoundCloudApiAuthenticated(clientId, secretKey, authorizationCode, passwordCredentialsState);
 }
Esempio n. 2
0
 public static ISoundCloudApiAuthenticated CreateClient(string clientId,
                                                        string secretKey,
                                                        string authorizationCode,
                                                        IPasswordCredentialsState passwordCredentialsState)
 {
     return(new SoundCloudApiAuthenticated(clientId, secretKey, authorizationCode, passwordCredentialsState));
 }
Esempio n. 3
0
 public static ISoundCloudApiAuthenticated CreateClient(string clientId,
                                                        string secretKey,
                                                        string userName,
                                                        string password,
                                                        IPasswordCredentialsState passwordCredentialsState)
 {
     return(new SoundCloudApiAuthenticated(clientId, secretKey, userName, password, passwordCredentialsState));
 }
 public static ISoundCloudApiAuthenticated CreateClient(string clientId, 
                                               string secretKey,
                                               string userName, 
                                               string password,
                                               IPasswordCredentialsState passwordCredentialsState)
 {
     return new SoundCloudApiAuthenticated(clientId, secretKey, userName, password, passwordCredentialsState);
 }
Esempio n. 5
0
 internal SoundCloudApiAuthenticated(
     string clientId,
     string secretKey,
     IPasswordCredentialsState passwordCredentialsState)
     : base(clientId, Client)
 {
     _clientId  = clientId;
     _secretKey = secretKey;
     _passwordCredentialsState = passwordCredentialsState;
 }
Esempio n. 6
0
 internal SoundCloudApiAuthenticated(
     string clientId,
     string secretKey,
     string authorizationCode,
     IPasswordCredentialsState passwordCredentialsState)
     : this(clientId, secretKey, passwordCredentialsState)
 {
     _authorizationCode    = authorizationCode;
     _useAuthorizationCode = true;
 }
Esempio n. 7
0
 internal SoundCloudApiAuthenticated(
     string clientId,
     string secretKey,
     string userName,
     string password,
     IPasswordCredentialsState passwordCredentialsState)
     : this(clientId, secretKey, passwordCredentialsState)
 {
     _userName    = userName;
     _password    = password;
     _usePassword = true;
 }