docs.unity3d.com

    Changelog

    All notable changes to this package will be documented in this file.

    The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

    [2.0.0] - 2022-04-04

    Public GA release.

    [1.0.0-pre.85] - 2022-02-23

    Changed

    • Restructured package file hierarchy.
    • Refactored PlayerInfo's CreatedAt to be a DateTime (UTC).
    • Refactored PlayerInfo's identities to use new Identity type.
    • ExternalId is no longer public and is replaced by Identity.

    [1.0.0-pre.83] - 2022-02-18

    Changed

    • Removed 'SignInWithExternalTokenAsync and LinkWithExternalTokenAsync apis.
    • Changed the following models to internal: UnlinkRequest, SignInWithExternalTokenRequest, LinkWithExternalTokenRequest

    [1.0.0-pre.80] - 2022-02-15

    Added

    • Added helper methods to retrieve external Ids ### Changed
    • Renamed public model UserInfo to PlayerInfo
    • Renamed GetUserInfo to GetPlayerInfo
    • Removed DomainId property from the PlayerInfo model

    [1.0.0-pre.77] - 2022-02-12

    Added

    • Added SignInOptions models for all sign in operations.
    • Added LinkOptions model for all link operations. ### Changed
    • Removed SignInWithSessionTokenAsync. This is fully handled by SignInAnonymously.
    • Split ExternalTokenRequest into SignInExtenalTokenRequest and LinkWithExternalTokenRequest.

    [1.0.0-pre.73] - 2022-02-08

    Changed

    • Removed namespaces Unity.Services.Authentication.Models and Unity.Services.Authentication.Utilities for simplified use.

    [1.0.0-pre.67] - 2022-02-02

    Added

    • Added optional parameter on Signout to clear credentials.
    • Added player id caching between sessions.
    • Added optional force link parameter to linking apis (Apple, Facebook, Google, Steam). ### Changed
    • Reset the session token when getting an invalid session token error.

    [1.0.0-pre.44] - 2021-12-16

    Added

    • Added enableRefresh parameter to SignInWithExternalTokenAsync.

    [1.0.0-pre.32] - 2021-12-03

    Added profile support. Profiles allow managing multiple accounts at the same time by isolating the session token persistence.

    Added

    • Added Profile property to IAuthenticationService to access the current profile.
    • Added SwitchProfile to IAuthenticationService to change the current profile.
    • Added ClientInvalidProfile error code to AuthenticationErrorCodes used when entering an invalid profile name.
    • Added SetProfile extension method to InitializationOptions.

    [1.0.0-pre.26] - 2021-11-26

    Added

    • Added DeleteAccountAsync to IAuthenticationService.
    • Added AccountLinkLimitExceeded and ClientUnlinkExternalIdNotFound error codes to AuthenticationErrorCodes.
    • Error code AccountLinkLimitExceeded is used when the current player's account has reached the limit of links for the provider when using a link operation.
    • Error code ClientUnlinkExternalIdNotFound is sent when no matching external id is found in the player's UserInfo when using an unlink operation.

    [1.0.0-pre.20] - 2021-11-19

    Added

    • Added UserInfo property to IAuthenticationService.
    • Added UnlinkAppleAsync function to IAuthenticationService.
    • Added UnlinkFacebookAsync function to IAuthenticationService.
    • Added UnlinkGoogleAsync function to IAuthenticationService.
    • Added UnlinkSteamAsync function to IAuthenticationService.

    [1.0.0-pre.14] - 2021-11-11

    Added

    • Added IsAuthorized property.
    • Added SessionTokenExists property.
    • Added GetUserInfoAsync to IAuthenticationService

    [1.0.0-pre.8] - 2021-11-03

    Added

    • Added IsExpired property.
    • Added Expired event.
    • Added ClearSessionToken function

    [1.0.0-pre.7] - 2021-10-20

    Changed

    • Updated UI Samples
    • Updated the core SDK dependency to latest version.

    [1.0.0-pre.6] - 2021-10-01

    Added

    • Added Samples to Package Manager
    • Added SignInWithExternalTokenAsync and LinkWithExternalTokenAsync to IAuthenticationService. ### Changed
    • Made ExternalTokenRequest class public.

    [1.0.0-pre.5] - 2021-08-25

    Added

    • Integrate with Package Manager under the Services tab filter and comply with the standard for the UI detail screen.

    [1.0.0-pre.4] - 2021-08-05

    Changed

    • Updated the AuthenticationException to base on RequestFailedException.
    • Updated the core SDK dependency to latest version.

    [1.0.0-pre.3] - 2021-07-30

    Fixed

    • Package structure for promotion ### Changed
    • Updated the core SDK dependency to latest version.

    [1.0.0-pre.2] - 2021-07-28

    Changed

    • Updated the core SDK dependency to latest version.

    [1.0.0-pre.1] - 2021-07-28

    Changed

    • Updated the core SDK dependency to latest version.

    [0.7.1-preview] - 2021-07-22

    Changed

    • Updated the core SDK dependency to latest version.

    [0.7.0-preview] - 2021-07-22

    Changed

    • Updated the core SDK dependency to latest version. ### Added
    • Add missing xmldoc for the public functions.

    [0.6.0-preview] - 2021-07-15

    Added

    • Add support for Unity Environments

    [0.5.0-preview] - 2021-06-16

    Changed

    • Remove SetOAuthClient() as the authentication flow is simplified.
    • Updated the initialization code to initialize with UnityServices.Initialize()

    [0.4.0-preview] - 2021-06-07

    Added

    • Added Project Settings UI to configure ID providers.
    • Added SignInWithSteam, LinkWithSteam functions.
    • Changed the public interface of the Authentication service from a static instance and static methods to a singleton instance hidden behind an interface.

    Changed

    • Change the public signature of Authentication to return a Task, as opposed to a IAsyncOperation
    • Change the public API names of Authentication to Async

    [0.3.1-preview] - 2021-04-23

    Changed

    • Change the SignInFailed event to take AuthenticationException instead of a string as parameter. It can provide more information for debugging purposes.
    • Fixed the com.unity.services.core package dependency version.

    [0.3.0-preview] - 2021-04-21

    Added

    • Added SignInWithApple, LinkWithApple, SignInWithGoogle, LinkWithGoogle, SignInWithFacebook, LinkWithFacebook functions.
    • Added SignInWithSessionToken
    • Added error codes used by the social scenarios to AuthenticationError.

    [0.2.3-preview] - 2021-03-23

    Changed

    • Rename the package from com.unity.services.identity to com.unity.services.authentication. Renamed the internal types/methods, too.

    [0.2.2-preview] - 2021-03-15

    Added

    • Core package integration

    [0.2.1-preview] - 2021-03-05

    • Fixed dependency on Utilities package

    [0.2.0-preview] - 2021-03-05

    • Removed requirement for OAuth client ID to be specified (automatically uses project default OAuth client)

    [0.1.0-preview] - 2021-01-18

    This is the first release of com.unity.services.identity.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, April 12, 2022
    Terms of use