diff options
Diffstat (limited to 'lib/api/applications.rb')
-rw-r--r-- | lib/api/applications.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/api/applications.rb b/lib/api/applications.rb index 4e9843e17e8..70e6b8395d7 100644 --- a/lib/api/applications.rb +++ b/lib/api/applications.rb @@ -14,6 +14,9 @@ module API requires :name, type: String, desc: 'Application name' requires :redirect_uri, type: String, desc: 'Application redirect URI' requires :scopes, type: String, desc: 'Application scopes' + + optional :confidential, type: Boolean, default: true, + desc: 'Application will be used where the client secret is confidential' end post do application = Doorkeeper::Application.new(declared_params) |