Class SubscriptionTokenResponse
SubscriptionTokenResponse
Inherited Members
Namespace: Unity.Services.Apis.CloudCode
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "SubscriptionTokenResponse")]
[Preserve]
public class SubscriptionTokenResponse
Constructors
SubscriptionTokenResponse(string, string)
Initializes a new instance of the Subscription
Declaration
[Preserve]
public SubscriptionTokenResponse(string channel = null, string token = null)
Parameters
Type | Name | Description |
---|---|---|
string | channel | The subscription channel that the token was generated for.. |
string | token | The authentication token to be used when subscribing to a channel.. |
Properties
Channel
The subscription channel that the token was generated for.
Declaration
[DataMember(Name = "channel", EmitDefaultValue = false)]
[Preserve]
public string Channel { get; set; }
Property Value
Type | Description |
---|---|
string | The subscription channel that the token was generated for. |
Token
The authentication token to be used when subscribing to a channel.
Declaration
[DataMember(Name = "token", EmitDefaultValue = false)]
[Preserve]
public string Token { get; set; }
Property Value
Type | Description |
---|---|
string | The authentication token to be used when subscribing to a channel. |