This repository has been archived on 2020-03-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
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;
}]);