-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
28e655f refactor: [#171] rename auth::Key to auth::ExpiringKey (Jose Celano) 7cdd63e refactor: [#171] use KeyId in auth:Key (Jose Celano) Pull request description: The struct `KeyId` was extracted to wrap the primitive type, but it was not being used in the `auth::Key` struct yet. `Key` before this PR: ```rust pub struct Key { pub key: String, pub valid_until: Option<DurationSinceUnixEpoch>, } ``` After this PR: ```rust pub struct ExpiringKey { pub id: KeyId, pub valid_until: Option<DurationSinceUnixEpoch>, } ``` - [x] Use the new struct `auth::KeyId`in the `auth::Key` struct. - [x] Rename `auth::Key` to `auth::ExpiringKey`. Top commit has no ACKs. Tree-SHA512: 814f9da64de6c9582d4f7996588843ed4a65ee7a24f1e2a5f382367bd3014957ab25a5fb34a9bde4ced28184c0af6f2e328cace14675a371e09371c6bdf6cce3
- Loading branch information
Showing
11 changed files
with
124 additions
and
102 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
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
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
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
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
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
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
Oops, something went wrong.