Commit 5cd968c8 authored by Eduardo Sanz García's avatar Eduardo Sanz García
Browse files

chore: changed name of application

parent a06a20b5
Pipeline #2888 passed with stages
in 2 minutes and 40 seconds
<a name="1.0.0-beta.1"></a>
# [1.0.0-beta.1](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/compare/1.0.0-alpha.11...1.0.0-beta.1) (2018-07-12)
# [1.0.0-beta.1](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-alpha.11...1.0.0-beta.1) (2018-07-12)
### Features
* changed name of the library to `ng-ebi-authorization`
......@@ -9,57 +9,57 @@
* remove the alternative way of providing credential information
<a name="1.0.0-alpha.11"></a>
# [1.0.0-alpha.11](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/compare/1.0.0-alpha.10...1.0.0-alpha.11) (2018-06-20)
# [1.0.0-alpha.11](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-alpha.10...1.0.0-alpha.11) (2018-06-20)
### Features
* improved documentation
<a name="1.0.0-alpha.10"></a>
# [1.0.0-alpha.10](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/compare/1.0.0-alpha.9...1.0.0-alpha.10) (2018-06-18)
# [1.0.0-alpha.10](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-alpha.9...1.0.0-alpha.10) (2018-06-18)
### Features
* JwtModule must be set up independently of the AuthModule. Both must have the
same tokenGetter function in order to work properly.
<a name="1.0.0-alpha.9"></a>
# [1.0.0-alpha.9](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/compare/1.0.0-alpha.8...1.0.0-alpha.9) (2018-05-16)
# [1.0.0-alpha.9](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-alpha.8...1.0.0-alpha.9) (2018-05-16)
### Features
* upgrade to @auth0/angular-jwt version 2 and drop dependency of rxjs-compat
<a name="1.0.0-alpha.8"></a>
# [1.0.0-alpha.8](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/compare/1.0.0-alpha.7...1.0.0-alpha.8) (2018-05-08)
# [1.0.0-alpha.8](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-alpha.7...1.0.0-alpha.8) (2018-05-08)
### Features
* upgrade to angular version 6.
<a name="1.0.0-alpha.7"></a>
# [1.0.0-alpha.7](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/compare/1.0.0-alpha.6...1.0.0-alpha.7) (2018-02-27)
# [1.0.0-alpha.7](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-alpha.6...1.0.0-alpha.7) (2018-02-27)
### Features
* **token:** getClaim function in some instances didn't return the default value
when no value for the claim was found. Fixed.
<a name="1.0.0-alpha.6"></a>
# [1.0.0-alpha.6](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/compare/1.0.0-alpha.5...1.0.0-alpha.6) (2018-02-16)
# [1.0.0-alpha.6](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-alpha.5...1.0.0-alpha.6) (2018-02-16)
### Features
* None: published the wrong package into npm
<a name="1.0.0-alpha.5"></a>
# [1.0.0-alpha.5](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/compare/1.0.0-alpha.4...1.0.0-alpha.5) (2018-02-16)
# [1.0.0-alpha.5](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-alpha.4...1.0.0-alpha.5) (2018-02-16)
### Features
* **auth:** allow inter-window communication (changes in the JWT token are listened by other opened windows) ([#1](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/issues/1) ([9a13795](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/commit/9a13795)), closes [#1](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/issues/1
* **auth:** remove expired JWT token (when users leave before the token is removed and then come back) ([#1](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/issues/1) ([2e59603](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/commit/2e59603))
* **auth:** allow inter-window communication (changes in the JWT token are listened by other opened windows) ([#1](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/issues/1) ([9a13795](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/commit/9a13795)), closes [#1](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/issues/1
* **auth:** remove expired JWT token (when users leave before the token is removed and then come back) ([#1](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/issues/1) ([2e59603](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/commit/2e59603))
* **conf:** make tokenRemover an optional function in the configuration. When
not supplied, the JWT token is set to null.
<a name="1.0.0-alpha.4"></a>
# [1.0.0-alpha.4](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/compare/1.0.0-alpha.3...1.0.0-alpha.4) (2018-02-15)
# [1.0.0-alpha.4](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-alpha.3...1.0.0-alpha.4) (2018-02-15)
### Features
* **auth:** added Credential interface for easy access to user data ([60b33f7e](https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/commit/60b33f7e))
* **auth:** added Credential interface for easy access to user data ([60b33f7e](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/commit/60b33f7e))
# Contributing to angular-aap-auth
# Contributing to ng-ebi-authorization
Thanks for your willingness to contribute to the angular-aap-auth library.
Thanks for your willingness to contribute to the ng-ebi-authorization library.
## Setup
If you have writing permission into project's repo, then clone it locally.
```
git clone https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth
git clone https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization
or
git clone git@gitlab.ebi.ac.uk:tools-glue/angular-aap-auth
git clone git@gitlab.ebi.ac.uk:tools-glue/ng-ebi-authorization
```
Otherwise, fork the repo using GitLab, and submit pull requests.
......
# angular-aap-auth
# ng-ebi-authorization
The angular-aap-auth is a simple authentication Angular library that relies on
EBI's Authentication and Authorization Profile (AAP) infrastructure. After
The ng-ebi-authorization is a simple authentication Angular library that relies
on EBI's Authentication and Authorization Profile (AAP) infrastructure. After
successful login, a JWT token is stored on the browser (via cookie, local or
session storage).
......@@ -10,19 +10,19 @@ session storage).
To install this library, run:
```
npm install --save angular-aap-auth @auth0/angular-jwt
npm install --save ng-ebi-authorization @auth0/angular-jwt
or
yarn add angular-aap-auth @auth0/angular-jwt
yarn add ng-ebi-authorization @auth0/angular-jwt
```
Compatibility table
Angular version | angular-aap-auth version
Angular version | ng-ebi-authorization version
--- | ---
>=5 <6 | <=1.0.0-alpha.7
>=6 <7 | >=1.0.0-alpha.8
>=5 <6 | <=angular-aap-auth@1.0.0-alpha.7
>=6 <7 | >=ng-ebi-authorization@1.0.0-alpha.8
## Consuming the library
......@@ -47,7 +47,7 @@ import {
import {
AuthModule
} from 'angular-aap-auth';
} from 'ng-ebi-authorization';
import {
JwtModule
} from '@auth0/angular-jwt';
......@@ -92,7 +92,7 @@ import {
import {
AuthService,
User
} from 'angular-aap-auth';
} from 'ng-ebi-authorization';
@Component({
selector: 'app-root',
......@@ -146,7 +146,7 @@ import {
} from './app.component';
import {
AuthModule
} from 'angular-aap-auth';
} from 'ng-ebi-authorization';
import {
JwtModule
} from '@auth0/angular-jwt';
......@@ -203,7 +203,7 @@ import {
import {
AuthService,
TokenService // Needed for JWT claim introspection
} from 'angular-aap-auth';
} from 'ng-ebi-authorization';
import {
JwtHelperService,
......@@ -293,4 +293,4 @@ Read up on our guidelines for [contributing][contributing].
## License
Apache 2.0 © [EMBL - European Bioinformatics Institute](https://www.ebi.ac.uk/about/terms-of-use)
[contributing]: https://gitlab.ebi.ac.uk/tools-glue/angular-aap-auth/blob/master/CONTRIBUTING.md
[contributing]: https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/blob/master/CONTRIBUTING.md
import { AppPage } from './app.po';
describe('ng-aap-auth App', () => {
describe('ng-ebi-authorization App', () => {
let page: AppPage;
beforeEach(() => {
......
......@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>NgAapAuth</title>
<title>NgEbiAuthorization</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment