0.1.4 • Published 5 years ago

@southsystem/authentication v0.1.4

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

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),
  ],
// ...
0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago