Skip to content

t1k:unity:tof:authentication

FieldValue
Moduletof
Version3.46.8
Effortmedium
Tools—

Keywords: apple-sign-in, authentication, contracts, facebook, firebase, login, oauth, session

/t1k:unity:tof:authentication

Scope — this is a candidate index, not an inventory. This skill indexes one source folder. A feature can span Assets/TheOneFeature/, Packages/com.gdk.*, and sibling Assets/TheOne.* packages, and this skill will only show the folder it was built from. A capability missing here is not evidence that it is absent — verify against source (grep over a stated scope) before concluding anything does not exist. See The1Studio/theonekit-unity#350.

Defines the authentication contract (IAuthenticationService, IAuthenticationMethod, result/signal models) that concrete providers implement. Also ships editor-only validators and Apple/Facebook post-process build steps for the platform SDK setup those providers need.

⚠️ This package is contracts-only. It contains no concrete IAuthenticationService / IAuthenticationMethod implementation — its files are the interfaces, signals, result models and 5 editor validators/post-build steps. Searched across Assets/ and Packages/, the only implementations are PlayFabWrapper : IAuthenticationService and PlayFab{CustomId,Apple,Google,Facebook}AuthMethod : IAuthenticationMethod, all under Assets/TheOneFeature/Core/Features/Playfab/Core/Scripts/Services/ — see the tof-playfab skill. Do not read “a comprehensive authentication system” (this skill’s former description) as meaning this package performs authentication; it defines the shape other packages authenticate through.

interface

  • IAuthenticationMethod (IAuthenticationMethod.cs)
  • IAuthenticationService (IAuthenticationService.cs) class
  • AppleSignInPostProcessBuild (AppleSignInPostProcessBuild.cs)
  • AppleSignInValidator (AppleSignInValidator.cs)
  • AuthenticationPlayerData (AuthenticationPlayerData.cs)
  • AuthenticationValidator (AuthenticationValidator.cs)
  • AuthResult (AuthResult.cs)
  • FacebookAuthenticationValidator (FacebookAuthenticationValidator.cs)
  • FacebookPostProcessBuild (FacebookPostProcessBuild.cs)
  • UserLoggedInAndDataFetchedSignal
  • UserLoginResultSignal
  • UserLogoutSignal
  • UserStartLoginSignal

None detected.

  1. Reference package TheOneFeature in your project.
  2. Register the Authentication services via VContainer (see Architecture).
  3. Configure any ScriptableObjects listed in Config section.
  4. Subscribe to signals listed in Signals / Events to react to state changes.

Detected public types (12): interface

  • IAuthenticationMethod (IAuthenticationMethod.cs)
  • IAuthenticationService (IAuthenticationService.cs) class
  • AppleSignInPostProcessBuild (AppleSignInPostProcessBuild.cs)
  • AppleSignInValidator (AppleSignInValidator.cs)
  • AuthenticationPlayerData (AuthenticationPlayerData.cs)
  • AuthenticationValidator (AuthenticationValidator.cs)
  • AuthResult (AuthResult.cs)
  • FacebookAuthenticationValidator (FacebookAuthenticationValidator.cs)
  • FacebookPostProcessBuild (FacebookPostProcessBuild.cs) struct
  • UserLogoutSignal (UserLogoutSignal.cs)
  • UserStartLoginSignal (UserStartLoginSignal.cs) enum
  • AuthenticationMethod (AuthenticationMethod.cs)

Not yet documented. This section was never filled in; it is a known gap, not a statement that the feature has no dependencies. Read the .asmdef next to the source folder above for the authoritative list.

  • No concrete implementation lives here. Resolving IAuthenticationService / IAuthenticationMethod from DI requires a provider package to be installed — in a stock TheOneFeature project that is tof-playfab (PlayFabWrapper, PlayFabCustomIdAuthMethod, PlayFabAppleAuthMethod, PlayFabGoogleAuthMethod, PlayFabFacebookAuthMethod). Referencing only this package’s types will not authenticate against any backend.
  • AppleSignInPostProcessBuild / FacebookPostProcessBuild are iOS/Android post-build steps — editor-only, no runtime effect.
  • Auth is further gated by X_AUTHENTICATION (+ _FACEBOOK / _APPLE), manual symbols toggled via ScriptDefineToolModule; see tof-core-editor.
  • Source: Assets/TheOneFeature/Core/Features/Authentication/
  • Doc: Assets/TheOneFeature/Core/Features/Authentication/Core/README.md
  • Doc: Assets/TheOneFeature/Core/Features/Authentication/CHANGELOG.md
  • Doc: Assets/TheOneFeature/Core/Features/Authentication/Core/CHANGELOG.md
  • Namespace: TheOne.Features.Authentication.Core, TheOne.Feature.Authentication.Core.Editor
  • Concrete implementations (not in this package): Assets/TheOneFeature/Core/Features/Playfab/Core/Scripts/Services/ — see tof-playfab