# @southsystem/authentication

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

Latest version **0.1.4** (published 2019-01-29) · 0 weekly downloads

## Install

```sh
npm install @southsystem/authentication
pnpm add @southsystem/authentication
yarn add @southsystem/authentication
bun add @southsystem/authentication
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2019-01-29 |
| First published | 2018-09-26 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 232.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | rodney.nogueira, sstpchara |

## Links

- npm: https://www.npmjs.com/package/@southsystem/authentication
- npm.io page: https://npm.io/package/@southsystem/authentication

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0

## Recent versions

- 0.1.4 (latest) — 2019-01-29
- 0.1.3 — 2019-01-24
- 0.1.2 — 2019-01-24
- 0.1.1 — 2019-01-23
- 0.1.0 — 2018-10-02
- 0.0.2 — 2018-10-01
- 0.0.1 — 2018-09-26

## README

# Authentication Module

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

---
_Source: https://npm.io/package/@southsystem/authentication · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
