add Auth to website
This commit is contained in:
parent
783c4bd4ff
commit
0c69462255
|
@ -1,9 +1,9 @@
|
|||
app.controller('websiteCtrl', [
|
||||
'$scope', 'azp@oauth3.org',
|
||||
function ($scope, Oauth3) {
|
||||
var vm = this;
|
||||
'$scope', 'Auth', 'azp@oauth3.org'
|
||||
, function ($scope, Auth, Oauth3) {
|
||||
|
||||
vm.oauth3 = Oauth3.oauth3;
|
||||
var vm = this;
|
||||
vm.oauth3 = Auth.oauth3;
|
||||
|
||||
vm.getDomains = function () {
|
||||
vm.oauth3.api('domains.list', {}).then(function (result) {
|
||||
|
|
Loading…
Reference in New Issue