Skip to content

Commit 80595a9

Browse files
add secret key mention to access manager sample
1 parent 13b9b87 commit 80595a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PubNubUnity/Assets/Snippets/AccessManager/AccessManagerSample.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ static void PubnubInit()
1919
//Create configuration
2020
PNConfiguration pnConfiguration = new PNConfiguration(new UserId("myUniqueUserId"))
2121
{
22-
SubscribeKey = "demo",
23-
PublishKey = "demo"
22+
SubscribeKey = "YOUR_SUBSCRIBE_KEY",
23+
PublishKey = "YOUR_PUBLISH_KEY",
24+
SecretKey = "YOUR_SECRET_KEY",
2425
};
2526
//Create a new PubNub instance
2627
Pubnub pubnub = PubnubUnityUtils.NewUnityPubnub(pnConfiguration);

0 commit comments

Comments
 (0)