summaryrefslogtreecommitdiff
path: root/src/api/auth/oauth.rs
Commit message (Collapse)AuthorAgeFilesLines
* make the Clone bytes types Copy as wellpennae2022-07-171-4/+3
| | | | u8 arrays are copy, no need to not have our wrappers be copy.
* use HawkKey everywhere hawk keys are handledpennae2022-07-171-9/+3
| | | | the db already does this, crypto did not.
* add dedicated types for all the tokenspennae2022-07-171-8/+8
| | | | using SecretBytes for all of them isn't that great.
* don't use SecretBytes in HawkKey/SecretKeypennae2022-07-171-2/+8
|
* apply rustfmtpennae2022-07-171-1/+1
|
* keep oauth tokens around a bit after expirypennae2022-07-131-12/+9
| | | | | | | firefox wants to delete profile access tokens after they're expired and logs errors if it can't do that. since this happens every hour we can end up with a bunch of error logs very quickly, so we better let it do what it wants.
* initial importpennae2022-07-131-0/+433