Logo Search packages:      
Sourcecode: tasque version File versions  Download package

Auth RtmNet::Rtm::AuthCheckToken ( string  token  )  [inline]

Checks a authentication token with the Rtm service to make sure it is still valid.

token The authentication token to check.
The Auth object detailing the user for the token.

Definition at line 481 of file Rtm.cs.

                  Hashtable parameters = new Hashtable();
                  parameters.Add("method", "rtm.auth.checkToken");
                  parameters.Add("auth_token", token);

                  RtmNet.Response response = GetResponse(parameters);
                  if( response.Status == ResponseStatus.OK )
                        Auth auth = new Auth(response.AllElements[0]);
                        return auth;
                        throw new RtmApiException(response.Error);


Generated by  Doxygen 1.6.0   Back to index