Skip to content

Commit 648f9e6

Browse files
committed
First Comment
1 parent 22ef308 commit 648f9e6

632 files changed

Lines changed: 24050 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 310 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,310 @@
1+
# Changelog
2+
All notable changes to this package will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
7+
## [3.3.3] - 2024-06-10
8+
### Fixed
9+
- Fixed an issue where `IAuthenticationService.SwitchProfile()` was not working properly
10+
11+
## [3.3.2] - 2024-05-29
12+
### Fixed
13+
- Fixed missing script reference in Player Accounts sample
14+
15+
## [3.3.1] - 2024-04-02
16+
### Added
17+
- Added the Apple Privacy Manifest file (PrivacyInfo.xcprivacy)
18+
- Added support for running different profiles when using Multiplayer Player Mode.
19+
20+
### Fixed
21+
- Fixed `AuthenticationState` is in invalid state when access token is changed after sign-out or sign-in
22+
- Fixed `NullReferenceException` in Player Accounts SDK if not properly set up and the application received a deep-link request.
23+
24+
## [3.3.0] - 2024-01-10
25+
### Added
26+
- Added `LastNotificationDate` field to inform the client of the player's notifications last created date.
27+
- Added `GetNotificationsAsync` method to allow the client to request the player's notifications
28+
- Added `Notifications` field to cache the notifications after GetNotificationsAsync is called
29+
- Added `BannedUser` error code to identify an exception when a user has been banned.
30+
31+
### Fixed
32+
- Fixed authentication refresh and expiration scheduling relying on device time which could cause edge cases.
33+
34+
## [3.2.0] - 2023-11-16
35+
36+
### Changed
37+
- Changed `Custom Token Exchange` ID provider to `Custom ID`.
38+
39+
### Added
40+
- Added `GetCustomId` method to PlayerInfo.
41+
- Added `SignInWithSteamAsync` method with `appId` parameter for Multiple App Id Support
42+
- Added `LinkWithSteamAsync` method with `appId` parameter for Multiple App Id Support
43+
- Added `Additional App IDs` to Steam ID Provider for Multiple App Id support
44+
45+
### Fixed
46+
- Fixed serialization of player accounts settings.
47+
48+
## [3.1.0] - 2023-10-20
49+
### Added
50+
- The Unity Player Accounts functionality has been merged in this package
51+
- Added a warning when Unity Player Accounts package is installed with this version. It can be uninstalled
52+
- Added `ProcessAuthenticationTokens` method to enable BYOI custom id sign-in
53+
54+
## [3.0.0] - 2023-08-21
55+
### Changed
56+
- Upgrading base unity version support to 2020.3
57+
- Updated the core SDK dependency version
58+
59+
### Added
60+
- Adding event in access token component for packages to be notified of changes to the `IAccessToken` value.
61+
- Added `GenerateSignInCodeAsync` method to generate a sign-in code that can be used to sign-in.
62+
- Added `SignInWithCodeAsync` method to sign in using the previously generated sign-in code. This method can optionally poll the server for sign-in confirmation.
63+
- Added `GetSignInCodeInfoAsync` method to fetch information about a given sign-in code.
64+
- Added `ConfirmCodeAsync` method for sending a request to confirm a provided sign-in code.
65+
- Added `SignInCodeReceived` which is triggered when `SignInWithCodeAsync` method successfully generates a`SignInCode`.
66+
- Added `SignInCodeExpired` which is invoked when the sign-in code expires.
67+
- Adding server authentication service which lets developers authorize operations when running on unity's game server hosting or with service accounts.
68+
69+
## [2.7.2] - 2023-07-19
70+
### Added
71+
- Added `SignInWithSteamAsync` and `LinkWithSteamAsync` methods with `identity` parameter for better security.
72+
- Added `SignInWithUsernamePasswordAsync`, `SignUpWithUsernamePasswordAsync`, `AddUsernamePasswordAsync`, `UpdatePasswordAsync`
73+
### Changed
74+
- Marked previous versions of `SignInWithSteamAsync` and `LinkWithSteamAsync` methods as obsolete.
75+
76+
## [2.6.1] - 2023-05-31
77+
### Added
78+
- Added `SignInWithUnityAsync` public API.
79+
- Added `LinkWithUnityAsync` public API.
80+
- Added `UnlinkUnityAsync` public API.
81+
- Added Unity Player Accounts configuration in Editor settings.
82+
### Fixed
83+
- Adding Preserve attributes to api models to prevent issues with code stripping for Oculus
84+
85+
## [2.5.0] - 2023-05-09
86+
### Fixed
87+
- Properly disposing web request when using player names
88+
- Fixing exception reporting in some cases for the SignInFailed event
89+
- Remove time validation on client side, to prevent token expiry errors caused by the wrong date/time settings on devices.
90+
- Adding Preserve attributes to api models to prevent issues with code stripping for player names
91+
92+
## [2.5.0-pre.3] - 2023-03-01
93+
### Added
94+
- Added `GetPlayerNameAsync` to retrieve the current player name in the Authentication service
95+
- Added `UpdatePlayerNameAsync` to update the current player name in the Authentication service
96+
- Added `PlayerName` property and caching in the Authentication service
97+
### Changed
98+
- `PlayerId` property now properly returns null instead of an empty string by default
99+
- Package's license to refresh legal links.
100+
101+
## [2.4.0] - 2022-11-29
102+
### Added
103+
- Added `SignInWithAppleGameCenterAsync`, `LinkWithAppleGameCenterAsync`, `UnlinkAppleGameCenterAsync`
104+
### Changed
105+
- Updated the core SDK dependency version
106+
107+
## [2.3.1] - 2022-10-17
108+
### Changed
109+
- Updated the core SDK dependency version
110+
111+
## [2.3.0] - 2022-10-12
112+
### Added
113+
- Added `GetGooglePlayGamesId()` to `PlayerInfo`.
114+
- Added `SignInWithOculusAsync`, `LinkWithOculusAsync`, `UnlinkOculusAsync`
115+
- Added Oculus ID provider to Project Settings UI to configure ID providers.
116+
### Changed
117+
- Updated the core SDK dependency to the latest version.
118+
119+
## [2.2.0] - 2022-07-28
120+
### Added
121+
- Added `SignInWithOpenIdConnectAsync`, `LinkWithOpenIdConnectAsync`, `UnlinkOpenIdConnectAsync`
122+
### Changed
123+
- Updated the core SDK dependency to the latest version.
124+
125+
## [2.1.1] - 2022-06-22
126+
### Changed
127+
- Updated the core SDK dependency to latest version.
128+
129+
## [2.1.0] - 2022-06-07
130+
### Added
131+
- Added `SignInWithGooglePlayGames`, `LinkWithGooglePlayGames`, `UnlinkGooglePlayGames`
132+
### Changed
133+
- Updated the core SDK dependency to latest version.
134+
135+
## [2.0.0] - 2022-04-04
136+
Public GA release.
137+
138+
## [1.0.0-pre.85] - 2022-02-23
139+
### Changed
140+
- Restructured package file hierarchy.
141+
- Refactored PlayerInfo's CreatedAt to be a DateTime (UTC).
142+
- Refactored PlayerInfo's identities to use new Identity type.
143+
- ExternalId is no longer public and is replaced by Identity.
144+
145+
## [1.0.0-pre.83] - 2022-02-18
146+
### Changed
147+
- Removed 'SignInWithExternalTokenAsync and LinkWithExternalTokenAsync apis.
148+
- Changed the following models to internal: UnlinkRequest, SignInWithExternalTokenRequest, LinkWithExternalTokenRequest
149+
150+
## [1.0.0-pre.80] - 2022-02-15
151+
### Added
152+
- Added helper methods to retrieve external Ids
153+
### Changed
154+
- Renamed public model `UserInfo` to `PlayerInfo`
155+
- Renamed `GetUserInfo` to `GetPlayerInfo`
156+
- Removed `DomainId` property from the `PlayerInfo` model
157+
158+
## [1.0.0-pre.77] - 2022-02-12
159+
### Added
160+
- Added SignInOptions models for all sign in operations.
161+
- Added LinkOptions model for all link operations.
162+
### Changed
163+
- Removed SignInWithSessionTokenAsync. This is fully handled by SignInAnonymously.
164+
- Split ExternalTokenRequest into SignInExtenalTokenRequest and LinkWithExternalTokenRequest.
165+
166+
## [1.0.0-pre.73] - 2022-02-08
167+
### Changed
168+
- Removed namespaces Unity.Services.Authentication.Models and Unity.Services.Authentication.Utilities for simplified use.
169+
170+
## [1.0.0-pre.67] - 2022-02-02
171+
### Added
172+
- Added optional parameter on Signout to clear credentials.
173+
- Added player id caching between sessions.
174+
- Added optional force link parameter to linking apis (Apple, Facebook, Google, Steam).
175+
### Changed
176+
- Reset the session token when getting an invalid session token error.
177+
178+
## [1.0.0-pre.44] - 2021-12-16
179+
### Added
180+
- Added enableRefresh parameter to SignInWithExternalTokenAsync.
181+
182+
## [1.0.0-pre.32] - 2021-12-03
183+
Added profile support. Profiles allow managing multiple accounts at the same time by isolating the session token persistence.
184+
### Added
185+
- Added `Profile` property to `IAuthenticationService` to access the current profile.
186+
- Added `SwitchProfile` to `IAuthenticationService` to change the current profile.
187+
- Added `ClientInvalidProfile` error code to `AuthenticationErrorCodes` used when entering an invalid profile name.
188+
- Added `SetProfile` extension method to `InitializationOptions`.
189+
190+
## [1.0.0-pre.26] - 2021-11-26
191+
### Added
192+
- Added `DeleteAccountAsync` to `IAuthenticationService`.
193+
- Added `AccountLinkLimitExceeded` and `ClientUnlinkExternalIdNotFound` error codes to `AuthenticationErrorCodes`.
194+
- 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.
195+
- Error code `ClientUnlinkExternalIdNotFound` is sent when no matching external id is found in the player's `UserInfo` when using an unlink operation.
196+
197+
## [1.0.0-pre.20] - 2021-11-19
198+
### Added
199+
- Added `UserInfo` property to `IAuthenticationService`.
200+
- Added `UnlinkAppleAsync` function to `IAuthenticationService`.
201+
- Added `UnlinkFacebookAsync` function to `IAuthenticationService`.
202+
- Added `UnlinkGoogleAsync` function to `IAuthenticationService`.
203+
- Added `UnlinkSteamAsync` function to `IAuthenticationService`.
204+
205+
## [1.0.0-pre.14] - 2021-11-11
206+
### Added
207+
- Added `IsAuthorized` property.
208+
- Added `SessionTokenExists` property.
209+
- Added `GetUserInfoAsync` to `IAuthenticationService`
210+
211+
## [1.0.0-pre.8] - 2021-11-03
212+
### Added
213+
- Added `IsExpired` property.
214+
- Added `Expired` event.
215+
- Added `ClearSessionToken` function
216+
217+
## [1.0.0-pre.7] - 2021-10-20
218+
### Changed
219+
- Updated UI Samples
220+
- Updated the core SDK dependency to latest version.
221+
222+
## [1.0.0-pre.6] - 2021-10-01
223+
### Added
224+
- Added Samples to Package Manager
225+
- Added `SignInWithExternalTokenAsync` and `LinkWithExternalTokenAsync` to `IAuthenticationService`.
226+
### Changed
227+
- Made `ExternalTokenRequest` class public.
228+
229+
## [1.0.0-pre.5] - 2021-08-25
230+
### Added
231+
- Integrate with Package Manager under the Services tab filter and comply with the standard for the UI detail screen.
232+
233+
## [1.0.0-pre.4] - 2021-08-05
234+
### Changed
235+
- Updated the `AuthenticationException` to base on `RequestFailedException`.
236+
- Updated the core SDK dependency to latest version.
237+
238+
## [1.0.0-pre.3] - 2021-07-30
239+
### Fixed
240+
- Package structure for promotion
241+
### Changed
242+
- Updated the core SDK dependency to latest version.
243+
244+
## [1.0.0-pre.2] - 2021-07-28
245+
### Changed
246+
- Updated the core SDK dependency to latest version.
247+
248+
## [1.0.0-pre.1] - 2021-07-28
249+
### Changed
250+
- Updated the core SDK dependency to latest version.
251+
252+
## [0.7.1-preview] - 2021-07-22
253+
### Changed
254+
- Updated the core SDK dependency to latest version.
255+
256+
## [0.7.0-preview] - 2021-07-22
257+
### Changed
258+
- Updated the core SDK dependency to latest version.
259+
### Added
260+
- Add missing xmldoc for the public functions.
261+
262+
## [0.6.0-preview] - 2021-07-15
263+
### Added
264+
- Add support for Unity Environments
265+
266+
## [0.5.0-preview] - 2021-06-16
267+
### Changed
268+
- Remove `SetOAuthClient()` as the authentication flow is simplified.
269+
- Updated the initialization code to initialize with `UnityServices.Initialize()`
270+
271+
## [0.4.0-preview] - 2021-06-07
272+
### Added
273+
- Added Project Settings UI to configure ID providers.
274+
- Added `SignInWithSteam`, `LinkWithSteam` functions.
275+
- Changed the public interface of the Authentication service from a static instance and static methods to a singleton instance hidden behind an interface.
276+
277+
### Changed
278+
- Change the public signature of `Authentication` to return a Task, as opposed to a IAsyncOperation
279+
- Change the public API names of `Authentication` to `Async`
280+
281+
## [0.3.1-preview] - 2021-04-23
282+
### Changed
283+
- Change the `SignInFailed` event to take `AuthenticationException` instead of a string as parameter. It can provide more information for debugging purposes.
284+
- Fixed the `com.unity.services.core` package dependency version.
285+
286+
## [0.3.0-preview] - 2021-04-21
287+
### Added
288+
- Added `SignInWithApple`, `LinkWithApple`, `SignInWithGoogle`, `LinkWithGoogle`, `SignInWithFacebook`, `LinkWithFacebook` functions.
289+
- Added `SignInWithSessionToken`
290+
- Added error codes used by the social scenarios to `AuthenticationError`.
291+
292+
## [0.2.3-preview] - 2021-03-23
293+
### Changed
294+
- Rename the package from `com.unity.services.identity` to `com.unity.services.authentication`. Renamed the internal types/methods, too.
295+
296+
## [0.2.2-preview] - 2021-03-15
297+
### Added
298+
- Core package integration
299+
300+
## [0.2.1-preview] - 2021-03-05
301+
302+
- Fixed dependency on Utilities package
303+
304+
## [0.2.0-preview] - 2021-03-05
305+
306+
- Removed requirement for OAuth client ID to be specified (automatically uses project default OAuth client)
307+
308+
## [0.1.0-preview] - 2021-01-18
309+
310+
### This is the first release of *com.unity.services.identity*.

CHANGELOG.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/Analytics.meta

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)