Refresh token in Google example
This commit is contained in:
parent
43bc9f4e48
commit
33bcbd9790
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue