GooglePlayInstant/Editor/QuickDeploy/AccessTokenGetter.cs
/// <summary>
/// Sends an HTTP request to OAuth2 token uri to get a new access token from the previously issued refresh token.
/// Stores the value of the new access token, and invokes the post token action when the new access token has
/// been successfully received and stored.
/// </summary>
Sends an HTTP request to OAuth2 token uri to get a new access token from the previously issued refresh token.
Stores the value of the new access token, and invokes the post token action when the new access token has
been successfully received and stored.
Sends an HTTP request to OAuth2 token uri to get a new access token from the previously issued refresh token . Stores the value of the new access token and invokes the post token action when the new access token has been successfully received and stored .
private static void RefreshAccessToken(string refreshToken, Action postTokenAction)
        {
            var grantDictionary = new Dictionary<string, string>
            {
                {"refresh_token", refreshToken},
                {"grant_type", OAuth2RefreshTokenGrantType}
            };
            RequestToken(grantDictionary, postTokenAction);
        }
private static void RefreshAccessToken ( string refreshToken , Action postTokenAction ) { var grantDictionary = new Dictionary < string , string > { { " " , refreshToken } , { " " , OAuth2RefreshTokenGrantType } } ; RequestToken ( grantDictionary , postTokenAction ) ; }
Sends an HTTP request to OAuth2 token uri to get a new access token from the previously issued refresh token.
Sends an HTTP request to OAuth2 token uri to get a new access token from the previously issued refresh token .
refreshToken
string
postTokenAction
Action