1<?php
2
3namespace OAuth\OAuth1\Token;
4
5use OAuth\Common\Token\AbstractToken;
6
7/**
8 * Standard OAuth1 token implementation.
9 * Implements OAuth\OAuth1\Token\TokenInterface in case of any OAuth1 specific features.
10 */
11class StdOAuth1Token extends AbstractToken implements TokenInterface
12{
13    /**
14     * @var string
15     */
16    protected $requestToken;
17
18    /**
19     * @var string
20     */
21    protected $requestTokenSecret;
22
23    /**
24     * @var string
25     */
26    protected $accessTokenSecret;
27
28    /**
29     * @param string $requestToken
30     */
31    public function setRequestToken($requestToken)
32    {
33        $this->requestToken = $requestToken;
34    }
35
36    /**
37     * @return string
38     */
39    public function getRequestToken()
40    {
41        return $this->requestToken;
42    }
43
44    /**
45     * @param string $requestTokenSecret
46     */
47    public function setRequestTokenSecret($requestTokenSecret)
48    {
49        $this->requestTokenSecret = $requestTokenSecret;
50    }
51
52    /**
53     * @return string
54     */
55    public function getRequestTokenSecret()
56    {
57        return $this->requestTokenSecret;
58    }
59
60    /**
61     * @param string $accessTokenSecret
62     */
63    public function setAccessTokenSecret($accessTokenSecret)
64    {
65        $this->accessTokenSecret = $accessTokenSecret;
66    }
67
68    /**
69     * @return string
70     */
71    public function getAccessTokenSecret()
72    {
73        return $this->accessTokenSecret;
74    }
75}
76