Gets the authentication token for the Session.
Note: This method is supported for IC Server version 2016 R2 and beyond.
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
| C# |
|---|
public GetAuthenticationTokenResult GetAuthenticationToken() |
| Visual Basic |
|---|
Public Function GetAuthenticationToken As GetAuthenticationTokenResult |
Return Value
An GetAuthenticationTokenResult object that contains the authentication token and seed.
Remarks
The authentication token can be used to create a new separate session without requiring user credentials, for example using web services.
Exceptions
| Exception | Condition |
|---|---|
| ININ.IceLib.Connection..::..RequestTimeoutException | The request timed out while waiting for a response. |
| ININ.IceLib.Connection..::..SessionDisconnectedException | The Session does not have a valid connection. |
| System..::..ObjectDisposedException | The Session has been disposed. |
Version Information
Supported for IC Server version 2016 R2 and beyond.