Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Sep 20, 2023
1 parent 34fdbf5 commit 25bd99a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion identity_storage/src/storage/jwk_document_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub trait JwkDocumentExt: private::Sealed {
/// Unless the `kid` is explicitly set in the options, the `kid` in the protected header is the `id`
/// of the method identified by `fragment` and the JWS signature will be produced by the corresponding
/// private key backed by the `storage` in accordance with the passed `options`.
///
///
/// The `custom_claims` can be used to set additional claims on the resulting JWT.
async fn create_credential_jwt<K, I, T>(
&self,
Expand Down
3 changes: 1 addition & 2 deletions identity_storage/src/storage/tests/credential_jws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ async fn signing_credential_with_custom_kid() {
assert_eq!(decoded.header.kid().unwrap(), my_kid);
}


#[tokio::test]
async fn custom_claims() {
let (document, storage, kid, credential) = setup().await;
Expand Down Expand Up @@ -254,4 +253,4 @@ async fn custom_claims() {
)
.unwrap();
assert_eq!(decoded.custom_claims.unwrap(), custom_claims);
}
}

0 comments on commit 25bd99a

Please sign in to comment.