Gateway
PlayerIdentity
A player's identity across sessions: 64 lowercase hex characters, the SHA-256 of the token's issuer and subject.
generated from the sources
Static class in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Gateway/ClientAuth.cspublic static class PlayerIdentityA player's identity across sessions: 64 lowercase hex characters, the SHA-256 of the token's issuer and subject. The same account at the same provider always maps to the same identity, and two providers can never collide. It is what NetworkIdentity.OwnerIdentity and NebulaClient.Identity carry, and what a game keys player records on (for example a PersistentEntity.Key).
Fields
AnonymousIssuer
public const string AnonymousIssuer = "nebula";The iss of tokens the gateway issues itself to clients that presented none.
Methods
Derive
public static string Derive(string issuer, string subject);Hex
public static string Hex(byte[] bytes);