mirror of
https://github.com/pfzetto/rebacs
synced 2024-11-22 11:12:49 +01:00
optional claims
This commit is contained in:
parent
66fac9d185
commit
924416149c
1 changed files with 5 additions and 5 deletions
|
@ -131,11 +131,11 @@ pub struct Claims {
|
||||||
pub sub: String,
|
pub sub: String,
|
||||||
pub azp: String,
|
pub azp: String,
|
||||||
|
|
||||||
pub name: String,
|
pub name: Option<String>,
|
||||||
pub preferred_username: String,
|
pub preferred_username: Option<String>,
|
||||||
pub given_name: String,
|
pub given_name: Option<String>,
|
||||||
pub family_name: String,
|
pub family_name: Option<String>,
|
||||||
pub email: String,
|
pub email: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn extract_token(
|
async fn extract_token(
|
||||||
|
|
Loading…
Reference in a new issue