0.0.11 • Published 12 months ago

citifuel-auth-guard v0.0.11

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
12 months ago

Description

Nest framework TypeScript starter repository.

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

CitiFuel Auth Guard

A NestJS module for gRPC-based authentication.

Installation

npm install citifuel-auth-guard

Usage

Import and configure the AuthModule in your application:

import { AuthModule } from 'citifuel-auth-guard';

@Module({
  imports: [
    AuthModule.register({
      host: 'localhost',
      port: 5000,
      realm: 'my-realm'
    })
    // OR
    AuthModule.register({
      url: 'localhost:5000',
      realm: 'my-realm'
    })
  ]
})
export class AppModule {}

Configuration Options

The module accepts the following options:

  • url: Complete URL string (e.g., 'localhost:5000')
  • host: Host address (alternative to url)
  • port: Port number (alternative to url)
  • realm: Authentication realm
0.0.11

12 months ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.3

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago