Refresh token in Google example

This commit is contained in:
Curtis McEnroe 2015-12-24 14:38:00 -05:00
parent 43bc9f4e48
commit 33bcbd9790
1 changed files with 3 additions and 0 deletions

View File

@ -22,4 +22,7 @@ fn main() {
let token = client.request_token(code.trim()).unwrap(); let token = client.request_token(code.trim()).unwrap();
println!("{:?}", token); println!("{:?}", token);
let token = client.refresh_token(token, None).unwrap();
println!("{:?}", token);
} }