You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-09 10:01:45 +03:00
Simple consent screen and storage
This commit is contained in:
@ -84,6 +84,14 @@ impl ToString for ScopeToken {
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct Scope(HashSet<ScopeToken>);
|
||||
|
||||
impl std::ops::Deref for Scope {
|
||||
type Target = HashSet<ScopeToken>;
|
||||
|
||||
fn deref(&self) -> &Self::Target {
|
||||
&self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl FromStr for Scope {
|
||||
type Err = InvalidScope;
|
||||
|
||||
|
Reference in New Issue
Block a user