@southsystem/authentication
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Authentication Module

// file: src/app/app.module.ts
import { SSTSimpleStrategy, SSTKeycloakStrategy, SSTAuthenticationModule } from '@southsystem/authentication';

const keycloakConfig = {
  enable: true,
  realm: 'realm',
  url: 'https://keycloak/auth',
  clientId: 'client-id'
};

const simpleConfig = {
  enable: true
}

// ...
  imports: [
    SSTAuthenticationModule.forRoot(SSTSimpleStrategy, simpleConfig),
    // or
    SSTAuthenticationModule.forRoot(SSTKeycloakStrategy, keycloakConfig),
  ],
// ...

Readme

Keywords

none

Package Sidebar

Install

npm i @southsystem/authentication

Weekly Downloads

13

Version

0.1.4

License

none

Unpacked Size

238 kB

Total Files

38

Last publish

Collaborators

  • arielpchara