ForLocalDevelopment
method in Coherence.Connection.AuthToken
Methods
public static string ForLocalDevelopment(ConnectionType connectionType)
Creates an authentication token with a random User ID that can be used for authentication when connecting to a local (development) replication server.
Parameters
Type | Name | Description |
---|---|---|
ConnectionType | connectionType |
Returns
Type | Description |
---|---|
string |
Remarks
DO NOT USE IN PRODUCTION - AUTHENTICATION WILL FAIL
public static string ForLocalDevelopment(string playUserId, ConnectionType connectionType)
Creates an authentication token for a given user that can be used for authentication when connecting to a local (development) replication server.
Parameters
Type | Name | Description |
---|---|---|
string | playUserId | |
ConnectionType | connectionType |
Returns
Type | Description |
---|---|
string |
Remarks
DO NOT USE IN PRODUCTION - AUTHENTICATION WILL FAIL