.NET Integration Kit

Deploying the OpenToken Agent

Deploy the OpenToken Agent to allow your web application to serialize user attributes into an OpenToken for IdPs, and validate and extract user attributes for SPs. Learn more in Integrating the OpenToken agent into your .NET 8 application.

Steps

  1. From the .NET Integration Kit .zip archive, copy the dist/opentoken-agent.dll file to a location accessible to your ASP.NET Core 8 project.

  2. Add a reference to opentoken-agent.dll in your .csproj file:

    <ItemGroup>
        <Reference Include="opentoken-agent">
          <HintPath>path/to/opentoken-agent.dll</HintPath>
        </Reference>
      </ItemGroup>
  3. Refer to the API documentation in dist/docs/ for the full reference of available classes and methods.

  4. Refer to the sample application source code in sample_src/ for end-to-end examples of IdP and SP integration.