ezidam: oauth: redirect: get and check code, get user info, mark code as used, display html template
This commit is contained in:
parent
719048e268
commit
827bba041a
15 changed files with 310 additions and 19 deletions
|
|
@ -31,4 +31,10 @@ impl User {
|
|||
pub fn password_hashed(&self) -> Option<&str> {
|
||||
self.password.as_deref()
|
||||
}
|
||||
pub fn username(&self) -> &str {
|
||||
&self.username
|
||||
}
|
||||
pub fn name(&self) -> Option<&str> {
|
||||
self.name.as_deref()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue