@wavenet/ngx-wvn-spw
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

ngx-wvn-spw

Wavenet Angular library for SPW application.

Features

GestIA

User info access

In order to load the user provided by GestIA, you can use the GestiaService which initializes the AuthenticationService from ngx-wvn-core.

At application startup, init the service and provide a RoleFinder used to add roles to GestIA user.

this.gestiaService.init(new class implements RoleFinder {
     
    find(userId: any): Array<string> {
        return myCustomUserRolesMapping();
    }
});

Once the GestiaService is initialized, you can simply use the AuthenticationService for further user info access.

Getting started

Install NPM dependency by using this command:

npm install -s @wavenet/ngx-wvn-spw

You also have to install peer dependencies such as:

  • ngx-wvn-core

Package Sidebar

Install

npm i @wavenet/ngx-wvn-spw

Weekly Downloads

1

Version

0.0.1

License

LGPL-3.0

Unpacked Size

92.3 kB

Total Files

23

Last publish

Collaborators

  • clemdem
  • olibos