Skip to content

Commit

Permalink
update JwtAuthState doc
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Oct 25, 2024
1 parent 1ad59e2 commit 75f70aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/jwt-auth/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ pub enum JwtAuthError {
/// JwtAuthState
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub enum JwtAuthState {
/// Authorized.
/// Authorized. Used if decoding jwt token successfully.
Authorized,
/// Unauthorized.
/// Unauthorized. Used if no jwt token is provided.
Unauthorized,
/// Forbidden.
/// Forbidden. Used if decoding jwt token failed.
Forbidden,
}
/// JwtAuthDepotExt
Expand Down

0 comments on commit 75f70aa

Please sign in to comment.