identity: add proxy controller
This commit is contained in:
parent
727f2f6ba2
commit
b95fb76cd4
9 changed files with 446 additions and 10 deletions
|
@ -24,4 +24,12 @@ public static class OauthUtils
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static string[] ExpandScopes(this Token token) => token.Scopes.Contains("chat_client")
|
||||
? Scopes
|
||||
: token.Scopes;
|
||||
|
||||
public static string[] ExpandScopes(this Application app) => app.Scopes.Contains("chat_client")
|
||||
? Scopes
|
||||
: app.Scopes;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue