com.unity.cloud.identity 1.0.0

com.unity.cloud.identity

Source docs
Notes: processed

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 2022.3

Package Dependencies

Features

  • Add `IUnityUserInfo`, `IMemberInfo`, `IUnityUserInfoProvider` and `IMemberInfoProvider` interfaces.
  • `IOrganization` and `IProject` interfaces now inherits `IMemberInfoProvider` interface.
  • `IProject` interface now exposes an `EnabledInAssetManager` boolean property.
  • `IAuthenticator` interface and all implementations now inherits `IUnityUserInfoProvider` interface.

Improvements

  • Updated Manual Documentation.
  • [Breaking] Renamed `IUnityUserInfo` interface to `IUserInfo`.
  • [Breaking] Renamed `IUnityUserInfoProvider` interface to `IUserInfoProvider`.
  • [Breaking] Renamed `GetUnityUserInfoAsync` method of `IUserInfoProvider` interface to `GetUserInfoAsync`.
  • [Breaking] Renamed `GenesisId` property to `UserId` in `IUnityUserInfo` interface.
  • [Breaking] Renamed `GroupGenesisId` property to `GroupId` in `IMemberInfo` interface.
  • `UnityEditorAuthenticator`, `IUnityEditorAccessTokenProvider` and `LaunchArgumentsUnityEditorAccessTokenProvider` are now public.
  • [Breaking] Replaced `IPkceRequestHandler.GetAuthenticatedUserInfoAsync` method with `IPkceRequestHandler.GetUserInfoAsync`.
  • [Breaking] Renamed `AuthenticatedUserInfoClaims` to `OpenIdUserInfoClaims`.
  • [Breaking] Changed `IOrganization.Role` property type from `string` to `Role`.
  • [Breaking] Changed `ListOrganizationsAsync` methods signature of `IOrganizationRepository` interface to return an `IAsyncEnumerable` and accept `Range` and `CancellationToken` arguments.
  • [Breaking] Removed `HasRoleAsync` and `HasPermissionAsync` methods from `IRoleProvider` interface in favor of `IEnumerable` and `IEnumerable` type extensions.
  • [Breaking] Moved `UserId` struct to Unity.Cloud.Common.
  • Update com.unity.cloud.common dependency to 1.0.0.

API Changes

  • [Breaking] Removed `Id` property in `IUnityUserInfo` interface.
  • [Breaking] Removed `Coppa`, `KidsStoreCompliance` and `DefaultEnvironmentId` properties from `IProject` interface and its implementation.
  • [Breaking] Removed `LicenseInfo` class and `LicenseType` enum.
  • [Breaking] Removed `IAuthenticatedUserInfoProvider` interface and its implementation in all `IAuthenticator`.
  • [Breaking] Renamed `AuthenticatorOrganizationRepository` to `AuthenticatedUserSession` and set as internal.