Skip to content

Commit

Permalink
formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
harkamaljot committed Dec 5, 2024
1 parent 1ec9089 commit b3873a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions google/oauth2/id_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _fetch_certs(request, certs_url):
"""Fetches certificates.
Google-style cerificate endpoints return JSON in the format of
``{'key id': 'x509 certificate'}`` or a certificate array according
``{'key id': 'x509 certificate'}`` or a certificate array according
to the JWK spec (see https://tools.ietf.org/html/rfc7517).
Args:
Expand All @@ -91,7 +91,7 @@ def _fetch_certs(request, certs_url):
certs_url (str): The certificate endpoint URL.
Returns:
Mapping[str, str] | Mapping[str, list]: A mapping of public keys
Mapping[str, str] | Mapping[str, list]: A mapping of public keys
in x.509 or JWK spec.
"""
response = request(certs_url, method="GET")
Expand Down Expand Up @@ -121,7 +121,7 @@ def verify_token(
intended for. If None then the audience is not verified.
certs_url (str): The URL that specifies the certificates to use to
verify the token. This URL should return JSON in the format of
``{'key id': 'x509 certificate'}`` or a certificate array according to
``{'key id': 'x509 certificate'}`` or a certificate array according to
the JWK spec (see https://tools.ietf.org/html/rfc7517).
clock_skew_in_seconds (int): The clock skew used for `iat` and `exp`
validation.
Expand Down

0 comments on commit b3873a6

Please sign in to comment.