[auth] Added display of oauth2

This commit is contained in:
bodnia
2016-03-08 23:05:41 +02:00
parent a5046a1fd1
commit e7d5ad6d2e
9 changed files with 7246 additions and 1078 deletions

View 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 () {
}
});