Skip to content

Commit c716c4f

Browse files
committed
fix: make Jwks.keys and Jwk public
Signed-off-by: Hung-Han (Henry) Chen <[email protected]>
1 parent c46d543 commit c716c4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use thiserror::Error;
1717
#[derive(Clone)]
1818
#[allow(dead_code)]
1919
pub struct Jwks {
20-
keys: HashMap<String, Jwk>,
20+
pub keys: HashMap<String, Jwk>,
2121
}
2222

2323
#[derive(Deserialize)]
@@ -137,8 +137,8 @@ impl Jwks {
137137

138138
#[derive(Clone)]
139139
#[allow(dead_code)]
140-
struct Jwk {
141-
decoding_key: DecodingKey,
140+
pub struct Jwk {
141+
pub decoding_key: DecodingKey,
142142
}
143143

144144
/// An error with the overall set of JSON Web Keys.

0 commit comments

Comments
 (0)