summaryrefslogtreecommitdiff
path: root/internal/gtsmodel
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gtsmodel')
-rw-r--r--internal/gtsmodel/application.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/gtsmodel/application.go b/internal/gtsmodel/application.go
index e8ef3bcf7..cc831ec34 100644
--- a/internal/gtsmodel/application.go
+++ b/internal/gtsmodel/application.go
@@ -53,3 +53,11 @@ func (a *Application) GetDomain() string {
func (a *Application) GetUserID() string {
return a.ManagedByUserID
}
+
+// Implements oauth2.IsPublic.
+func (a *Application) IsPublic() bool {
+
+ // this maintains behaviour with the
+ // previous version of oauth2 lib.
+ return false
+}