ezidam: oauth: added token endpoint, handling "authorization_code" and "refresh_token" grants

This commit is contained in:
Philippe Loctaux 2023-04-04 00:03:41 +02:00
parent dd69fc99ea
commit fe24825c3b
5 changed files with 402 additions and 1 deletions

View file

@ -34,4 +34,10 @@ impl App {
pub fn is_archived(&self) -> bool {
self.is_archived
}
pub fn is_confidential(&self) -> bool {
self.is_confidential
}
pub fn secret_hashed(&self) -> &str {
&self.secret
}
}