Skip to content

Commit

Permalink
fix: correct jsdoc format; remove sfw prefixes also in README
Browse files Browse the repository at this point in the history
  • Loading branch information
dwimberger committed Nov 23, 2024
1 parent 11f9e51 commit 72450ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ $ nest build
AuthClientModule,
AuthClientService,
AuthClientOptions,
SFW_AUTH_ENDPOINT,
SFW_AUTH_TENANT,
SFW_AUTH_CLIENT,
SFW_AUTH_SECRET,
SFW_AUTH_VALIDITY,
AUTH_ENDPOINT,
AUTH_TENANT,
AUTH_CLIENT,
AUTH_SECRET,
AUTH_VALIDITY,
VAULT_JWTROLE_IDENTIFIER,
VAULT_ENDPOINT,
VAULT_CA,
} from 'nest-sfw-auth-client';
} from '@evva/nest-auth-client';
AuthClientModule.forRootAsync({
imports: [ConfigModule],
inject: [ConfigService],
useFactory: async (configService: ConfigService) =>
({
sfwAuthEndpoint: configService.get<string>(SFW_AUTH_ENDPOINT), //use optional
sfwAuthTenant: configService.get<string>(SFW_AUTH_TENANT),
sfwAuthClientId: configService.get<string>(SFW_AUTH_CLIENT),
sfwAuthClientSecret: configService.get<string>(SFW_AUTH_SECRET),
sfwAuthValidity: parseInt(configService.get(SFW_AUTH_VALIDITY)), // in seconds, see spec
authEndpoint: configService.get<string>(AUTH_ENDPOINT), //use optional
authTenant: configService.get<string>(AUTH_TENANT),
authClientId: configService.get<string>(AUTH_CLIENT),
authClientSecret: configService.get<string>(AUTH_SECRET),
authValidity: parseInt(configService.get(AUTH_VALIDITY)), // in seconds, see spec
vaultRoleId: configService.get<string>(AULT_JWTROLE_IDENTIFIER),
vaultEndpoint: configService.get<string>(VAULT_ENDPOINT),
vaultCA: configService.get<string>(VAULT_CA)
Expand Down
2 changes: 1 addition & 1 deletion src/authclient.module-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface AuthClientModuleOptions {
*/
authTenant: string;
/**
*Auth Service client identifier
* Auth Service client identifier
*/
authClientId: string;
/**
Expand Down

0 comments on commit 72450ad

Please sign in to comment.