public Auth AuthGetToken(string frob)
{
if( _sharedSecret == null ) throw new FlickrException(0, "AuthGetToken requires signing. Please supply api key and secret.");
Hashtable parameters = new Hashtable();
parameters.Add("method", "flickr.auth.getToken");
parameters.Add("frob", frob);
FlickrNet.Response response = GetResponseNoCache(parameters);
if( response.Status == ResponseStatus.OK )
{
Auth auth = new Auth(response.AllElements[0]);
return auth;
}
else
{
throw new FlickrException(response.Error);
}
}