add passkey support
This commit is contained in:
@@ -21,6 +21,15 @@ pub struct User {
|
||||
pub display_name: String,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Passkey {
|
||||
pub id: i64,
|
||||
pub user_id: i64,
|
||||
pub credential_id: String,
|
||||
pub credential: String,
|
||||
pub counter: i64,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct SessionUser {
|
||||
pub user: User,
|
||||
|
||||
Reference in New Issue
Block a user