We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6bef71 commit 2bb11b2Copy full SHA for 2bb11b2
crates/policy/src/model.rs
@@ -179,6 +179,16 @@ pub struct AuthorizationGrantInput<'a> {
179
pub requester: Requester,
180
}
181
182
+/// Information about how many sessions the user has
183
+#[derive(Serialize, Debug, JsonSchema)]
184
+pub struct SessionCounts {
185
+ pub total: u64,
186
+
187
+ pub oauth2: u64,
188
+ pub compat: u64,
189
+ pub personal: u64,
190
+}
191
192
/// Input for the email add policy.
193
#[derive(Serialize, Debug, JsonSchema)]
194
#[serde(rename_all = "snake_case")]
0 commit comments