auth0-integration 0.6.1

Auth0 client library for M2M token retrieval and JWT validation (RS256)
Documentation
1
2
3
4
5
6
7
8
use serde::Deserialize;

/// A role returned by Auth0's `GET /api/v2/roles` endpoint.
#[derive(Debug, Deserialize)]
pub struct Auth0Role {
    pub id: String,
    pub name: String,
}