Function axum_jwt_ware::login
source · pub async fn login<D>(
body: Json<RequestBody>,
user_data: D,
jwt_secret: &str,
expiry_timestamp: i64
) -> impl IntoResponsewhere
D: UserData,
pub async fn login<D>(
body: Json<RequestBody>,
user_data: D,
jwt_secret: &str,
expiry_timestamp: i64
) -> impl IntoResponsewhere
D: UserData,