Skip to content

Commit

Permalink
Merge pull request #10 from RobProductions/working-branch
Browse files Browse the repository at this point in the history
Update Auth set comments + defaults
  • Loading branch information
RobProductions authored Mar 19, 2023
2 parents 0439903 + e87c29f commit e8b980d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Runtime/AuthLayer/EOSLoginAuthSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ public class EOSLoginAuthSet
/// <summary>
/// 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.
/// </summary>
public string credentialID = "";
public string credentialID = null;

/// <summary>
/// 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.
/// </summary>
public string credentialToken = "";
public string credentialToken = null;

/// <summary>
/// Used in the ExternalAuth credential type and ignored for any other type.
Expand All @@ -43,7 +45,9 @@ public class EOSLoginAuthSet

/// <summary>
/// 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.
/// </summary>
public AuthScopeFlags authScopeFlags = AuthScopeFlags.BasicProfile | AuthScopeFlags.FriendsList | AuthScopeFlags.Presence;
}
Expand Down

0 comments on commit e8b980d

Please sign in to comment.