summaryrefslogtreecommitdiff
path: root/src/token/extract
diff options
context:
space:
mode:
Diffstat (limited to 'src/token/extract')
-rw-r--r--src/token/extract/identity.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/token/extract/identity.rs b/src/token/extract/identity.rs
index 4d076d7..d01ab53 100644
--- a/src/token/extract/identity.rs
+++ b/src/token/extract/identity.rs
@@ -10,13 +10,13 @@ use crate::{
app::App,
clock::RequestedAt,
error::{Internal, Unauthorized},
- token::{self, app::ValidateError},
+ token::{Token, app::ValidateError},
user::User,
};
#[derive(Clone, Debug)]
pub struct Identity {
- pub token: token::Id,
+ pub token: Token,
pub user: User,
}