-
-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pkg Client auth: toward a more standard-worth protocol
Use names from https://tools.ietf.org/html/rfc6749#section-5.1: - access_token: an HTTP Auth Bearer token - expires_in: a relative expiration time - expires_at: an absolute expiration time - refresh_token: an HTTP Auth Bearer token to refresh - refresh_url: where to get a new auth.toml file Change the auth file name to `auth.toml` from `token.toml` Only send the access_token for regular requests Only send the refresh_token for refresh requests
- Loading branch information
1 parent
0dbd885
commit 9bf291d
Showing
1 changed file
with
84 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters