8000 docs: fix code block formatting in 'user-guide.rst' (#794) · zevdg/google-auth-library-python@4fd84bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 4fd84bd

Browse files
authored
docs: fix code block formatting in 'user-guide.rst' (googleapis#794)
1 parent c5e112f commit 4fd84bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/user-guide.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,16 +479,16 @@ IDToken verification can be done for various type of IDTokens using the
479479
and ES256 algorithms. However, ES256 algorithm won't be available unless
480480
`cryptography` dependency of version at least 1.4.0 is installed. You can check
481481
the dependency with `pip freeze` or try `from google.auth.crypt import es256`.
482-
The following is an example of verifying ID tokens:
482+
The following is an example of verifying ID tokens ::
483483

484484
from google.auth2 import id_token
485485

486486
request = google.auth.transport.requests.Request()
487487

488488
try:
489-
decoded_token = id_token.verify_token(token_to_verify,request)
489+
decoded_token = id_token.verify_token(token_to_verify,request)
490490
except ValueError:
491-
# Verification failed.
491+
# Verification failed.
492492

493493
A sample end-to-end flow using an ID Token against a Cloud Run endpoint maybe ::
494494

0 commit comments

Comments
 (0)
0