Wednesday, June 4, 2014

Digest for - 3 updates in 1 topic


    "Sérgio Gomes (AdSense API Team)" <> Jun 03 06:35AM -0700  

    Hi Daniel,
    Apologies for that, I should have explained it a bit more clearly.
    The "getAccessToken" method is actually a misnomer, as it retrieves both
    the access and refresh token (if available). Thus, in the sample you
    pointed to, what you're actually storing in the session
    is both the access and refresh tokens.
    In order to make this fully persistent, all you would have to do would be
    to store them both in a database or local file, rather than in the session.
    You would then retrieve them normally, and initialize the client with them
    Hope this helps!
    Sérgio Gomes
    Developer Relations
    Google UK Limited
    Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
    Registered in England Number: 3977902
    On Tuesday, 3 June 2014 14:22:17 UTC+1, Daniel Mayans wrote:


    Daniel Mayans <> Jun 03 06:51AM -0700  

    Okey Sergio, thank you very much!


No comments:

Post a Comment