Skip to main content

auth0_integration/models/
auth0_role.rs

1use serde::Deserialize;
2
3/// A role returned by Auth0's `GET /api/v2/roles` endpoint.
4#[derive(Debug, Deserialize)]
5pub struct Auth0Role {
6    pub id: String,
7    pub name: String,
8}