From 33bcbd97903b30c2e000351b664eacef9a11b5cb Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 24 Dec 2015 14:38:00 -0500 Subject: [PATCH] Refresh token in Google example --- examples/google.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/google.rs b/examples/google.rs index 18a62a4..0d4859e 100644 --- a/examples/google.rs +++ b/examples/google.rs @@ -22,4 +22,7 @@ fn main() { let token = client.request_token(code.trim()).unwrap(); println!("{:?}", token); + + let token = client.refresh_token(token, None).unwrap(); + println!("{:?}", token); }