# OpcIdentityToken Class

<span class="api-meta">abstract · since v2.42</span>

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcIdentityToken Members</a></dd>
</dl>

Represents the user identity token a client passes to the server to identify the user of a session. It is the base class of [OpcAnonymousIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcanonymousidentitytoken/), [OpcUserNameIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcusernameidentitytoken/), [OpcCertificateIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificateidentitytoken/) and [OpcIssuedIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcissuedidentitytoken/).

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public abstract class OpcIdentityToken
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public MustInherit Class OpcIdentityToken
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcIdentityToken**

## Derived types

- [OpcAnonymousIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcanonymousidentitytoken/)
- [OpcCertificateIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificateidentitytoken/)
- [OpcIssuedIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcissuedidentitytoken/)
- [OpcUserNameIdentityToken](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcusernameidentitytoken/)

## Remarks

The server passes the token to [Authenticate](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaccesscontrollist/members#authenticate) of its access control lists.

## Operators

| Name | Description |
|---|---|
| [Implicit](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcidentitytoken/members#op-implicit)<span class="api-meta">static</span> | Converts an <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.UserIdentityToken">UserIdentityToken</abbr> to an OpcIdentityToken object. |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.42–v2.59 |
