[auth] Added display of oauth2
This commit is contained in:
19
src/main/javascript/view/Oauth2View.js
Normal file
19
src/main/javascript/view/Oauth2View.js
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
SwaggerUi.Views.Oauth2View = Backbone.View.extend({
|
||||
events: {
|
||||
'change .oauth-scope': 'scopeChange'
|
||||
},
|
||||
|
||||
template: Handlebars.templates.oauth2,
|
||||
|
||||
render: function () {
|
||||
$(this.el).html(this.template(this.model.toJSON()));
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
scopeChange: function () {
|
||||
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user