Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.36 KB

openzaak-plugin-authentication.md

File metadata and controls

53 lines (43 loc) · 1.36 KB

OpenZaak Plugin Authentication

Dependencies

In order to use the OpenZaak Plugin Authentication plugin, the openzaak-plugin-authentication module needs to be added as a dependency. The following can be added to your project, depending on whether Maven or Gradle is used:

Backend

The samples below assume the valtimo-dependency-versions module is used. If not, please specify the artifact version as well.

Maven dependency:

<dependencies>
    <dependency>
        <groupId>com.ritense.valtimo</groupId>
        <artifactId>openzaak-plugin-authentication</artifactId>
    </dependency>
</dependencies>

Gradle dependency:

dependencies {
  implementation("com.ritense.valtimo:openzaak-plugin-authentication")
}

Frontend

A general instruction to add a front-end plugin to the implementation can be found here.

In order to use the OpenZaak plugin in the frontend, the following can be added to your app.module.ts:

import { OpenZaakPluginModule, openZaakPluginSpecification } from '@valtimo/plugin';

@NgModule({
  imports: [
      OpenZaakPluginModule,
  ],
  providers: [
      {
          provide: PLUGIN_TOKEN,
          useValue: [
              openZaakPluginSpecification,
          ]
      }
  ]
})