about summary refs log tree commit diff stats
path: root/src/auth.cpp
blob: 325c5216358441d182c7a1db5d441cbd374b452e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#include "twitter.h"

namespace twitter {
  
  void auth::setConsumerKey(std::string _arg)
  {
    _consumer_key = _arg;
  }
  
  void auth::setConsumerSecret(std::string _arg)
  {
    _consumer_secret = _arg;
  }
  
  void auth::setAccessKey(std::string _arg)
  {
    _access_key = _arg;
  }
  
  void auth::setAccessSecret(std::string _arg)
  {
    _access_secret = _arg;
  }
  
  std::string auth::getConsumerKey() const
  {
    return _consumer_key;
  }
  
  std::string auth::getConsumerSecret() const
  {
    return _consumer_secret;
  }
  
  std::string auth::getAccessKey() const
  {
    return _access_key;
  }
  
  std::string auth::getAccessSecret() const
  {
    return _access_secret;
  }
    
};