| 136 | } |
| 137 | |
| 138 | bool OsmOAuth::IsAuthorized() const |
| 139 | { |
| 140 | return IsValid(m_oauth2token); |
| 141 | } |
| 142 | |
| 143 | // Opens a login page and extract a cookie and a secret token. |
| 144 | OsmOAuth::SessionID OsmOAuth::FetchSessionId(string const & subUrl, string const & cookies) const |