Docs: fix copy paste error in ErrorKind::InvalidSubject (#196)
The documentation for `ErrorKind::InvalidSubject` mentioned the `aud` claim instead of `sub`. This commit fixes it.
This commit is contained in:
parent
3e245e3e6b
commit
94fef12259
|
@ -56,7 +56,7 @@ pub enum ErrorKind {
|
|||
InvalidIssuer,
|
||||
/// When a token’s `aud` claim does not match one of the expected audience values
|
||||
InvalidAudience,
|
||||
/// When a token’s `aud` claim does not match one of the expected audience values
|
||||
/// When a token’s `sub` claim does not match one of the expected audience values
|
||||
InvalidSubject,
|
||||
/// When a token’s nbf claim represents a time in the future
|
||||
ImmatureSignature,
|
||||
|
|
Loading…
Reference in New Issue