Benutzer-Verwaltung

Benutzer-Verwaltung

Vollständige Spieler-Authentifizierung und Identitätsverwaltung für euer Game-Backend

Kostenlos starten

Multi-Auth-Unterstützung

E-Mail, anonyme Gast-Accounts, Apple Sign-In und Google OAuth. Spieler wählen selbst, wie sie sich anmelden möchten.

Rollenbasierte Zugriffsrechte

Weist Rollen zu, um zu steuern, was jeder Nutzer tun darf. Integriertes Admin- und Spieler-Rollensystem.

Geräteübergreifende Sessions

Spieler melden sich einmal an und bleiben nahtlos auf allen ihren Geräten authentifiziert.

App-Store-Compliance sofort einsatzbereit

horizOn Benutzer-Verwaltung unterstützt jetzt Sign in with Apple. Tragt Team ID, Services ID und Bundle ID einmal ein. Eure iOS-Builds sind sofort App-Store-konform.

Schnelle Integration

Schnelle Integration

MyGame Auth

Willkommen zurück, Spieler

player@example.com
••••••••
Unity (C#)
// Unity C#: User Authentication
using PM.horizOn.Cloud.Core;
using PM.horizOn.Cloud.Manager;
using UnityEngine;

// Once at startup: reads the imported horizOn config (API key and hosts)
HorizonApp.Initialize();
await new HorizonServer().Connect();

// Sign up with email (true on success)
bool created = await UserManager.Instance.SignUpEmail(
    "player@example.com", "securePassword", "PlayerOne");

// Sign in on a later start
bool signedIn = await UserManager.Instance.SignInEmail("player@example.com", "securePassword");

// Or start as a guest without an email
bool guest = await UserManager.Instance.SignUpAnonymous("GuestPlayer");
Debug.Log($"Player id: {UserManager.Instance.CurrentUser.UserId}");
REST
# REST API: User Authentication

# Sign up with email
curl -X POST https://horizon.pm/api/v1/app/user-management/signup \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"EMAIL","email":"player@example.com","password":"securePassword","username":"PlayerOne"}'

# Sign in with email (the reply holds userId and accessToken, the player's session token)
curl -X POST https://horizon.pm/api/v1/app/user-management/signin \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"EMAIL","email":"player@example.com","password":"securePassword"}'

# Anonymous sign up (guest account)
curl -X POST https://horizon.pm/api/v1/app/user-management/signup \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"ANONYMOUS","username":"GuestPlayer"}'

Diese Beispiele nutzen das Unity-SDK (C#) und die REST-API. Godot und Unreal haben dieselben Aufrufe in ihren eigenen SDKs: siehe Quickstart

Häufig gestellte Fragen

Häufig gestellte Fragen

Bereit zur Integration?

Startet noch heute mit horizOn. Free Tier inklusive.