From e87c29fa2342fc06ef0763433e72516ca29f280a Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 19 Mar 2023 19:04:04 -0400 Subject: [PATCH] Update Auth set comments + defaults --- Runtime/AuthLayer/EOSLoginAuthSet.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Runtime/AuthLayer/EOSLoginAuthSet.cs b/Runtime/AuthLayer/EOSLoginAuthSet.cs index 04272d2..25a8350 100644 --- a/Runtime/AuthLayer/EOSLoginAuthSet.cs +++ b/Runtime/AuthLayer/EOSLoginAuthSet.cs @@ -26,14 +26,16 @@ public class EOSLoginAuthSet /// /// The ID of the login credential. Will differ based on credentialType, /// could be a username or domain of dev user (localhost:port). + /// Note: Some login types require null here instead of empty string. /// - public string credentialID = ""; + public string credentialID = null; /// /// The token/secret used to log in this user. Will differ based on credentialType. /// Could be dev username, continuance token, or exchange token passed from console, etc. + /// Note: Some login types require null here instead of empty string. /// - public string credentialToken = ""; + public string credentialToken = null; /// /// Used in the ExternalAuth credential type and ignored for any other type. @@ -43,7 +45,9 @@ public class EOSLoginAuthSet /// /// Permissions requested for this login session. - /// Match the request to the feature set intended with your Product. + /// Match the request to the feature set you enabled in your + /// client policy your app is linked to in the dev portal. + /// If you don't, you'll get an error. /// public AuthScopeFlags authScopeFlags = AuthScopeFlags.BasicProfile | AuthScopeFlags.FriendsList | AuthScopeFlags.Presence; }