Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/google-auth-library-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.21.2
Choose a base ref
...
head repository: googleapis/google-auth-library-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.21.3
Choose a head ref
  • 3 commits
  • 5 files changed
  • 3 contributors

Commits on Sep 17, 2020

  1. fix: fix expiry for to_json() (#589)

    * This patch for </issues/501> includes the following fixes:
    
    - The access token is always set to `None`, so the fix involves using (the access) `token` from the saved JSON credentials file.
    - For refresh needs, `expiry` also needs to be saved via `to_json()`.
        - DUMP: As `expiry` is a `datetime.datetime` object, serialize to `datetime.isoformat()` in the same [`oauth2client` format](https://github.com/googleapis/oauth2client/blob/master/oauth2client/client.py#L55) for consistency.
        - LOAD: Add code to restore `expiry` back to `datetime.datetime` object when imported.
        - LOAD: If `expiry` was unsaved, automatically set it as expired so refresh takes place.
    - Minor `scopes` updates
        - DUMP: Add property for `scopes` so `to_json()` can grab it
        - LOAD: `scopes` may be saved as a string instead of a JSON array (Python list), so ensure it is Sequence[str] when imported.
    wescpy authored Sep 17, 2020
    Configuration menu
    Copy the full SHA
    d0e0aba View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. Configuration menu
    Copy the full SHA
    da3526f View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. Configuration menu
    Copy the full SHA
    cc91e75 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy