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
-
From the .NET Integration Kit
.ziparchive, copy thedist/opentoken-agent.dllfile to a location accessible to your ASP.NET Core 8 project. -
Add a reference to
opentoken-agent.dllin your.csprojfile:<ItemGroup> <Reference Include="opentoken-agent"> <HintPath>path/to/opentoken-agent.dll</HintPath> </Reference> </ItemGroup> -
Refer to the API documentation in
dist/docs/for the full reference of available classes and methods. -
Refer to the sample application source code in
sample_src/for end-to-end examples of IdP and SP integration.