refactoring
This commit is contained in:
parent
6470cf9273
commit
fa85f1effc
7 changed files with 54 additions and 48 deletions
|
|
@ -114,8 +114,8 @@ namespace Yavsc.Helpers
|
|||
try {
|
||||
using (var m = new SimpleJsonPostMethod(ep)) {
|
||||
return await m.Invoke<TokenResponse>(
|
||||
new { refresh_token= oldResponse.RefreshToken, client_id=settings.ServiceAccount.client_id,
|
||||
client_secret=settings.ServiceAccount.client_secret,
|
||||
new { refresh_token= oldResponse.RefreshToken, client_id=Startup.GoogleWebClientConfiguration["web:client_id"],
|
||||
client_secret=Startup.GoogleWebClientConfiguration["web:client_secret"],
|
||||
grant_type="refresh_token" }
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue