-
Notifications
You must be signed in to change notification settings - Fork 94
docs(auth): id token user guide #3762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3762 +/- ##
==========================================
- Coverage 96.16% 96.14% -0.02%
==========================================
Files 146 146
Lines 5682 5682
==========================================
- Hits 5464 5463 -1
- Misses 218 219 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
coryan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR does not look ready, too many strange things.
| - [Setting up Rust on Cloud Shell](setting_up_rust_on_cloud_shell.md) | ||
| - [How to initialize a client](initialize_a_client.md) | ||
| - [Authentication](credentials.md) | ||
| - [Override the authentication credentials](credentials/override.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe. I was grouping all the "product neutral guides" together, including all the configuration changes to clients.
| // [START rust_auth_id_verify_token_parameters] ANCHOR: verify_id_token_parameters | ||
| // # Parameters | ||
| // * `token`: The ID token string to verify. | ||
| // * `audience`: The expected audience of the ID token. | ||
| // [END rust_auth_id_verify_token_parameters] ANCHOR_END: verify_id_token_parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move this to before the function definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
alvarowolfx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed review comments. Some extra files were due to some mismatch between mdformat running on my cloudtop and also mdbook not liking when you rename files and move things around.
| // [START rust_auth_id_verify_token_parameters] ANCHOR: verify_id_token_parameters | ||
| // # Parameters | ||
| // * `token`: The ID token string to verify. | ||
| // * `audience`: The expected audience of the ID token. | ||
| // [END rust_auth_id_verify_token_parameters] ANCHOR_END: verify_id_token_parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
coryan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking for now. The documentation is publish on each release, which would be bad for these changes because the features are not enabled by default. We should queue these changes until the features are enabled too.
Towards #3449