v2.6.1
Latest
2019.4+
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.6.1] - 2023-05-31
Added
- Added
SignInWithUnityAsync
public API. - Added
LinkWithUnityAsync
public API. - Added
UnlinkUnityAsync
public API. - Added Unity Player Accounts configuration in Editor settings. ### Fixed
- Adding Preserve attributes to api models to prevent issues with code stripping for Oculus
[2.5.0] - 2023-05-09
Fixed
- Properly disposing web request when using player names
- Fixing exception reporting in some cases for the SignInFailed event
- Remove time validation on client side, to prevent token expiry errors caused by the wrong date/time settings on devices.
- Adding Preserve attributes to api models to prevent issues with code stripping for player names
[2.5.0-pre.3] - 2023-03-01
Added
- Added
GetPlayerNameAsync
to retrieve the current player name in the Authentication service - Added
UpdatePlayerNameAsync
to update the current player name in the Authentication service - Added
PlayerName
property and caching in the Authentication service ### Changed PlayerId
property now properly returns null instead of an empty string by default- Package's license to refresh legal links.
[2.4.0] - 2022-11-29
Added
- Added
SignInWithAppleGameCenterAsync
,LinkWithAppleGameCenterAsync
,UnlinkAppleGameCenterAsync
### Changed - Updated the core SDK dependency version
[2.3.1] - 2022-10-17
Changed
- Updated the core SDK dependency version
[2.3.0] - 2022-10-12
Added
- Added
GetGooglePlayGamesId()
toPlayerInfo
. - Added
SignInWithOculusAsync
,LinkWithOculusAsync
,UnlinkOculusAsync
- Added Oculus ID provider to Project Settings UI to configure ID providers. ### Changed
- Updated the core SDK dependency to the latest version.
[2.2.0] - 2022-07-28
Added
- Added
SignInWithOpenIdConnectAsync
,LinkWithOpenIdConnectAsync
,UnlinkOpenIdConnectAsync
### Changed - Updated the core SDK dependency to the latest version.
[2.1.1] - 2022-06-22
Changed
- Updated the core SDK dependency to latest version.
[2.1.0] - 2022-06-07
Added
- Added
SignInWithGooglePlayGames
,LinkWithGooglePlayGames
,UnlinkGooglePlayGames
### Changed - Updated the core SDK dependency to latest version.
[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
toPlayerInfo
- Renamed
GetUserInfo
toGetPlayerInfo
- Removed
DomainId
property from thePlayerInfo
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 toIAuthenticationService
to access the current profile. - Added
SwitchProfile
toIAuthenticationService
to change the current profile. - Added
ClientInvalidProfile
error code toAuthenticationErrorCodes
used when entering an invalid profile name. - Added
SetProfile
extension method toInitializationOptions
.
[1.0.0-pre.26] - 2021-11-26
Added
- Added
DeleteAccountAsync
toIAuthenticationService
. - Added
AccountLinkLimitExceeded
andClientUnlinkExternalIdNotFound
error codes toAuthenticationErrorCodes
. - 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'sUserInfo
when using an unlink operation.
[1.0.0-pre.20] - 2021-11-19
Added
- Added
UserInfo
property toIAuthenticationService
. - Added
UnlinkAppleAsync
function toIAuthenticationService
. - Added
UnlinkFacebookAsync
function toIAuthenticationService
. - Added
UnlinkGoogleAsync
function toIAuthenticationService
. - Added
UnlinkSteamAsync
function toIAuthenticationService
.
[1.0.0-pre.14] - 2021-11-11
Added
- Added
IsAuthorized
property. - Added
SessionTokenExists
property. - Added
GetUserInfoAsync
toIAuthenticationService
[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
andLinkWithExternalTokenAsync
toIAuthenticationService
. ### 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 onRequestFailedException
. - 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
toAsync
[0.3.1-preview] - 2021-04-23
Changed
- Change the
SignInFailed
event to takeAuthenticationException
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
tocom.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)