File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -82,15 +82,17 @@ def _fetch_certs(request, certs_url):
8282 """Fetches certificates.
8383
8484 Google-style cerificate endpoints return JSON in the format of
85- ``{'key id': 'x509 certificate'}`` or a certificate array according to the JWK spec (see https://tools.ietf.org/html/rfc7517).
85+ ``{'key id': 'x509 certificate'}`` or a certificate array according
86+ to the JWK spec (see https://tools.ietf.org/html/rfc7517).
8687
8788 Args:
8889 request (google.auth.transport.Request): The object used to make
8990 HTTP requests.
9091 certs_url (str): The certificate endpoint URL.
9192
9293 Returns:
93- Mapping[str, str] | Mapping[str, list]: A mapping of public keys in x.509 or JWK spec.
94+ Mapping[str, str] | Mapping[str, list]: A mapping of public keys
95+ in x.509 or JWK spec.
9496 """
9597 response = request (certs_url , method = "GET" )
9698
@@ -119,7 +121,8 @@ def verify_token(
119121 intended for. If None then the audience is not verified.
120122 certs_url (str): The URL that specifies the certificates to use to
121123 verify the token. This URL should return JSON in the format of
122- ``{'key id': 'x509 certificate'}`` or a certificate array according to the JWK spec (see https://tools.ietf.org/html/rfc7517).
124+ ``{'key id': 'x509 certificate'}`` or a certificate array according to
125+ the JWK spec (see https://tools.ietf.org/html/rfc7517).
123126 clock_skew_in_seconds (int): The clock skew used for `iat` and `exp`
124127 validation.
125128
You can’t perform that action at this time.
0 commit comments