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