jwk-box 0.1.0

A simple JWK client.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Debug, Error)]
pub enum JwkClientErr {
    #[error("Could not connect: {0}")]
    ConnectionError(#[from] reqwest::Error),

    #[error("An error occurred: {0}")]
    Other(String),

    #[error("Could not parse token: {0}")]
    ParseError(#[from] jwt_simple::Error),
}