| Name |
Last commit
|
Last update |
|---|---|---|
| dist | ||
| hack | ||
| src | ||
| test | ||
| .editorconfig | ||
| .gitignore | ||
| .jshintrc | ||
| .npmignore | ||
| .travis.yml | ||
| Gruntfile.js | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| bower.json | ||
| package.json |
Add `OAuthScope` getter/setter to the RedirectLoginService. This change allows specifying the 'scope' parameter when requesting an authorization code & token. This is necessary if using an OAuth client that doesn't allow requesting tokens with the default 'user:full' scope. e.g. A ServiceAccount OAuth Client https://docs.openshift.com/container-platform/3.6/architecture/additional_concepts/authentication.html#service-accounts-as-oauth-clients *Example Usage* ```js angular .module('myApp', [ 'openshiftCommonServices' ]) .config(['RedirectLoginServiceProvider', function (RedirectLoginServiceProvider) { RedirectLoginServiceProvider.OAuthScope('user:info user:check-access'); }]) ```
| Name |
Last commit
|
Last update |
|---|---|---|
| dist | Loading commit data... | |
| hack | Loading commit data... | |
| src | Loading commit data... | |
| test | Loading commit data... | |
| .editorconfig | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .jshintrc | Loading commit data... | |
| .npmignore | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| Gruntfile.js | Loading commit data... | |
| LICENSE | Loading commit data... | |
| Makefile | Loading commit data... | |
| README.md | Loading commit data... | |
| bower.json | Loading commit data... | |
| package.json | Loading commit data... |