Skip to content

Commit

Permalink
0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Med5KDB committed Jul 19, 2024
1 parent cd9965e commit 1128e89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ yarn add keycloak-user-manager
To configure the module, you need to provide the Keycloak connection details in your `app.module.ts` file:

```typescript
# app.module.ts
import { Module } from '@nestjs/common';
import { KeycloakUserManagerModule } from 'keycloak-user-manager';

Expand Down Expand Up @@ -88,9 +87,9 @@ The username is required, and it will be used by Keycloak to identify the user s
If you need to create your own endpoints, you can use the `KeycloakUserManagerService` provided by the module. Following is an example of how to use it:

```typescript
import { Controller, Post } from '@nestjs/common';
import { Controller, Post, Body, Put, Param, Get, Delete } from '@nestjs/common';
import { KeycloakUserManagerService } from 'keycloak-user-manager';
import { AddUserDto, UpdateUserDto } from 'src/dto/custom-users.dto';
import { AddUserDto, UpdateUserDto } from 'src/dto/custom-users.dto'; // your custom dto

@Controller('custom-users')
export class UserService {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nest-keycloak-user-manager",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"author": "Mohamed Lamine Badji <[email protected]>",
"private": false,
Expand Down

0 comments on commit 1128e89

Please sign in to comment.