File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,11 +23,3 @@ import ()
2323type OAuth2ClaimConditions struct {
2424 Scopes []string `json:"scopes,omitempty"`
2525}
26-
27- func NewOAuth2ClaimConditions () * OAuth2ClaimConditions {
28- return & OAuth2ClaimConditions {}
29- }
30-
31- func (a * OAuth2ClaimConditions ) IsApplicationInstance () bool {
32- return true
33- }
Original file line number Diff line number Diff line change @@ -30,11 +30,3 @@ type OAuth2Scope struct {
3030 Name string `json:"name,omitempty"`
3131 System * bool `json:"system,omitempty"`
3232}
33-
34- func NewOAuth2Scope () * OAuth2Scope {
35- return & OAuth2Scope {}
36- }
37-
38- func (a * OAuth2Scope ) IsApplicationInstance () bool {
39- return true
40- }
Original file line number Diff line number Diff line change @@ -393,6 +393,8 @@ function isInstance(model) {
393393 model . modelName == "OAuth2Actor" ||
394394 model . modelName == "OAuth2Client" ||
395395 model . modelName == "OAuth2RefreshToken" ||
396+ model . modelName == "OAuth2ClaimConditions" ||
397+ model . modelName == "OAuth2Scope" ||
396398 model . modelName == "WebAuthnUserFactorProfile" ||
397399 model . modelName == "OAuth2ScopesMediationPolicyRuleCondition" ) {
398400 return false
You can’t perform that action at this time.
0 commit comments