Delegate WindowsMRRemoting.ValidateToken
Callback server API used to request validation of the token sent from the client. Passed to Listen() to be used later to request that a token be validated as authentic.
See Microsoft documentation about secure Holographic Remoting Connections for how a secure connection is setup and used.
Namespace: UnityEngine.XR.WindowsMR
Syntax
public delegate bool ValidateToken(string token, string tokenToCheck);
Parameters
| Type | Name | Description |
|---|---|---|
| String | token | |
| String | tokenToCheck | Shared secret that needs to be validated. |
Returns
| Type | Description |
|---|---|
| Boolean |