Add username claim from OAuth provider. (closes #287)
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -16,6 +16,9 @@ pub struct UserInfo {
|
||||
/// The login username we first consider when defined.
|
||||
pub preferred_username: Option<String>,
|
||||
|
||||
/// The login username considered.
|
||||
pub username: Option<String>,
|
||||
|
||||
/// The login username considered if none preferred.
|
||||
pub nickname: Option<String>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user