This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/services/oauth-service.js

8 lines
No EOL
259 B
JavaScript

/**
* Service which provides the OAuth scopes defined.
*/
angular.module('quay').factory('OAuthService', ['$location', 'Config', function($location, Config) {
var oauthService = {};
oauthService.SCOPES = window.__auth_scopes;
return oauthService;
}]);