Account services: Difference between revisions
No edit summary |
No edit summary |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 24: | Line 24: | ||
| 50 || [[#IsUserRegistrationRequestPermitted]] || | | 50 || [[#IsUserRegistrationRequestPermitted]] || | ||
|- | |- | ||
| 51 || [[#TrySelectUserWithoutInteraction]] || | | 51 || TrySelectUserWithoutInteractionDeprecated ([1.0.0-18.1.0] [[#TrySelectUserWithoutInteraction]]) || | ||
|- | |||
| 52 || [19.0.0+] TrySelectUserWithoutInteraction || | |||
|- | |- | ||
| 60 || [5.0.0-5.1.0] ListOpenContextStoredUsers || | | 60 || [5.0.0-5.1.0] ListOpenContextStoredUsers || | ||
Line 66: | Line 68: | ||
| 190 || [1.0.0-9.2.0] GetUserLastOpenedApplication || | | 190 || [1.0.0-9.2.0] GetUserLastOpenedApplication || | ||
|- | |- | ||
| 191 || [7.0.0 | | 191 || [7.0.0-19.0.1] UpdateNotificationReceiverInfo ([5.0.0-5.1.0] ActivateOpenContextHolder) || | ||
|- | |- | ||
| 200 || BeginUserRegistration || | | 200 || BeginUserRegistration || | ||
Line 87: | Line 89: | ||
|- | |- | ||
| 212 || [8.0.0+] ResumeProcedureToRegisterUserWithNintendoAccount || Takes a total of 0x14-bytes of input and a handle, returns an [[#IOAuthProcedureForUserRegistration]]. | | 212 || [8.0.0+] ResumeProcedureToRegisterUserWithNintendoAccount || Takes a total of 0x14-bytes of input and a handle, returns an [[#IOAuthProcedureForUserRegistration]]. | ||
|- | |||
| 213 || [17.0.0+] CreateProcedureToCreateUserWithNintendoAccount || | |||
|- | |||
| 214 || [17.0.0+] ResumeProcedureToCreateUserWithNintendoAccount || | |||
|- | |||
| 215 || [17.0.0+] ResumeProcedureToCreateUserWithNintendoAccountAfterApplyResponse || | |||
|- | |- | ||
| 230 || AuthenticateServiceAsync || Returns an [[#IAsyncContext]]. | | 230 || AuthenticateServiceAsync || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 250 || GetBaasAccountAdministrator || Returns an [[#IAdministrator]]. | | 250 || GetBaasAccountAdministrator || Returns an [[#IAdministrator]]. | ||
|- | |||
| 251 || [20.0.0+] SynchronizeNetworkServiceAccountsSnapshotAsync || | |||
|- | |- | ||
| 290 || ProxyProcedureForGuestLoginWithNintendoAccount || Returns an [[#IOAuthProcedureForExternalNsa]] (formerly [[#IOAuthProcedureForGuestLogin]] with [1.0.0-2.3.0]). | | 290 || ProxyProcedureForGuestLoginWithNintendoAccount || Returns an [[#IOAuthProcedureForExternalNsa]] (formerly [[#IOAuthProcedureForGuestLogin]] with [1.0.0-2.3.0]). | ||
|- | |- | ||
| 291 || [3.0.0+] ProxyProcedureForFloatingRegistrationWithNintendoAccount || Returns an [[#IOAuthProcedureForExternalNsa]]. | | 291 || [3.0.0+] ProxyProcedureForFloatingRegistrationWithNintendoAccount || Returns an [[#IOAuthProcedureForExternalNsa]]. | ||
|- | |||
| 292 || [20.0.0+] ProxyProcedureForDeviceMigrationAuthenticatingOperatingUser || | |||
|- | |||
| 293 || [20.0.0+] ProxyProcedureForDeviceMigrationDownload || | |||
|- | |- | ||
| 299 || SuspendBackgroundDaemon || Returns an [[#ISessionObject]]. | | 299 || SuspendBackgroundDaemon || Returns an [[#ISessionObject]]. | ||
|- | |||
| 350 || [20.0.0+] CreateDeviceMigrationUserExportRequest || | |||
|- | |||
| 351 || [20.0.0+] UploadNasCredential || | |||
|- | |||
| 352 || [20.0.0+] CreateDeviceMigrationUserImportRequest || | |||
|- | |||
| 353 || [20.0.0+] DeleteUserMigrationSaveData || | |||
|- | |||
| 400 || [18.0.0+] SetPinCode || | |||
|- | |||
| 401 || [18.0.0+] GetPinCodeLength || | |||
|- | |||
| 402 || [18.0.0-19.0.1] GetPinCode || | |||
|- | |||
| 403 || [20.0.0+] GetPinCodeParity || | |||
|- | |||
| 404 || [20.0.0+] VerifyPinCode || | |||
|- | |||
| 405 || [20.0.0+] IsPinCodeVerificationForbidden || | |||
|- | |||
| 410 || [18.0.0+] GetPinCodeErrorCount || | |||
|- | |||
| 411 || [18.0.0-19.0.1] ResetPinCodeErrorCount || | |||
|- | |||
| 412 || [18.0.0-19.0.1] IncrementPinCodeErrorCount || | |||
|- | |||
| 413 || [20.0.0+] SetPinCodeErrorCount || | |||
|- | |||
| 420 || [19.0.0+] SetStartPenaltyTime || | |||
|- | |||
| 421 || [19.0.0+] GetStartPenaltyTime || | |||
|- | |||
| 900 || [13.0.0+] SetUserUnqualifiedForDebug || | |||
|- | |||
| 901 || [13.0.0+] UnsetUserUnqualifiedForDebug || | |||
|- | |||
| 902 || [13.0.0+] ListUsersUnqualifiedForDebug || | |||
|- | |||
| 910 || [16.0.0+] RefreshFirmwareSettingsForDebug || | |||
|- | |- | ||
| 997 || [3.0.0+] DebugInvalidateTokenCacheForUser || | | 997 || [3.0.0+] DebugInvalidateTokenCacheForUser || | ||
Line 126: | Line 180: | ||
| 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | | 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 3 || LoadIdTokenCache || | | 3 || [19.0.0+] LoadIdTokenCacheDeprecated ([1.0.0-18.1.0] LoadIdTokenCache) || | ||
|- | |||
| 4 || [19.0.0+] LoadIdTokenCache || | |||
|- | |- | ||
| 100 || SetSystemProgramIdentification || | | 100 || SetSystemProgramIdentification || | ||
|- | |- | ||
| 101 || | | 101 || RefreshNotificationTokenAsync || | ||
|- | |- | ||
| 110 || | | 110 || GetServiceEntryRequirementCacheForLogin || | ||
|- | |- | ||
| 111 || | | 111 || InvalidateServiceEntryRequirementCache || | ||
|- | |- | ||
| 113 || GetServiceEntryRequirementCacheForOnlinePlay || Takes a total of 0x8-bytes of input, returns a total of 0x4-bytes of output. | |||
| 113 || | |||
|- | |- | ||
| 120 || GetNintendoAccountId || | | 120 || GetNintendoAccountId || | ||
|- | |- | ||
| 121 || | | 121 || CalculateNintendoAccountAuthenticationFingerprint || | ||
|- | |- | ||
| 130 || GetNintendoAccountUserResourceCache || | | 130 || GetNintendoAccountUserResourceCache || | ||
Line 150: | Line 204: | ||
| 132 || RefreshNintendoAccountUserResourceCacheAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | | 132 || RefreshNintendoAccountUserResourceCacheAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 133 || | | 133 || GetNintendoAccountVerificationUrlCache || | ||
|- | |||
| 134 || RefreshNintendoAccountVerificationUrlCacheAsync || | |||
|- | |- | ||
| | | 135 || RefreshNintendoAccountVerificationUrlCacheAsyncIfSecondsElapsed || | ||
|- | |- | ||
| | | 136 || [19.0.0+] GetNintendoAccountUserResourceCache || | ||
|- | |- | ||
| 140 || | | 140 || GetNetworkServiceLicenseCache || | ||
|- | |- | ||
| 141 || | | 141 || RefreshNetworkServiceLicenseCacheAsync || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 142 || | | 142 || RefreshNetworkServiceLicenseCacheAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | ||
|- | |||
| 143 || [15.0.0+] GetNetworkServiceLicenseCacheEx || | |||
|- | |- | ||
| 150 || CreateAuthorizationRequest || Returns an [[#IAuthorizationRequest]]. | | 150 || CreateAuthorizationRequest || Returns an [[#IAuthorizationRequest]]. | ||
|} | |- | ||
| 160 || [15.0.0+] RequiresUpdateNetworkServiceAccountIdTokenCache || | |||
|- | |||
| 161 || [16.0.0+] RequireReauthenticationOfNetworkServiceAccount || | |||
|- | |||
| 180 || [18.0.0-19.0.1] GetRequestForNintendoAccountReauthentication || | |||
|- | |||
| 181 || [20.0.0+] CreateProcedureToReauthenticateNintendoAccount || | |||
|- | |||
| 182 || [20.0.0+] ResumeProcedureToReauthenticateNintendoAccount || | |||
|} | |||
== IFloatingRegistrationRequest == | == IFloatingRegistrationRequest == | ||
This is "nn::account::baas::IFloatingRegistrationRequest". | This is "nn::account::baas::IFloatingRegistrationRequest". | ||
Line 212: | Line 280: | ||
| 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | | 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 3 || LoadIdTokenCache || | | 3 || [19.0.0+] LoadIdTokenCacheDeprecated ([1.0.0-18.1.0] LoadIdTokenCache) || | ||
|- | |||
| 4 || [19.0.0+] LoadIdTokenCache || | |||
|- | |- | ||
| 100 || SetSystemProgramIdentification || | | 100 || SetSystemProgramIdentification || | ||
Line 222: | Line 292: | ||
| 111 || [4.0.0+] InvalidateServiceEntryRequirementCache || | | 111 || [4.0.0+] InvalidateServiceEntryRequirementCache || | ||
|- | |- | ||
| [4.0.0-6.2.0] | | 112 || [4.0.0-6.2.0] InvalidateTokenCache || | ||
|- | |- | ||
| 113 || [6.1.0+] GetServiceEntryRequirementCacheForOnlinePlay || Takes a total of 0x8-bytes of input, returns a total of 0x4-bytes of output. | | 113 || [6.1.0+] GetServiceEntryRequirementCacheForOnlinePlay || Takes a total of 0x8-bytes of input, returns a total of 0x4-bytes of output. | ||
Line 241: | Line 311: | ||
|- | |- | ||
| 135 || [9.0.0+] RefreshNintendoAccountVerificationUrlCacheAsyncIfSecondsElapsed || | | 135 || [9.0.0+] RefreshNintendoAccountVerificationUrlCacheAsyncIfSecondsElapsed || | ||
|- | |||
| 136 || [19.0.0+] GetNintendoAccountUserResourceCache || | |||
|- | |- | ||
| 140 || [5.0.0+] GetNetworkServiceLicenseCache || | | 140 || [5.0.0+] GetNetworkServiceLicenseCache || | ||
Line 247: | Line 319: | ||
|- | |- | ||
| 142 || [5.0.0+] RefreshNetworkServiceLicenseCacheAsyncIfSecondsElapsed || | | 142 || [5.0.0+] RefreshNetworkServiceLicenseCacheAsyncIfSecondsElapsed || | ||
|- | |||
| 143 || [15.0.0+] GetNetworkServiceLicenseCacheEx || | |||
|- | |- | ||
| 150 || CreateAuthorizationRequest || Returns an [[#IAuthorizationRequest]]. | | 150 || CreateAuthorizationRequest || Returns an [[#IAuthorizationRequest]]. | ||
|- | |||
| 160 || [15.0.0+] RequiresUpdateNetworkServiceAccountIdTokenCache || | |||
|- | |||
| 161 || [16.0.0+] RequireReauthenticationOfNetworkServiceAccount || | |||
|- | |||
| 180 || [18.0.0-19.0.1] GetRequestForNintendoAccountReauthentication || | |||
|- | |||
| 181 || [20.0.0+] CreateProcedureToReauthenticateNintendoAccount || | |||
|- | |||
| 182 || [20.0.0+] ResumeProcedureToReauthenticateNintendoAccount || | |||
|- | |- | ||
| 200 || IsRegistered || | | 200 || IsRegistered || | ||
Line 257: | Line 341: | ||
|- | |- | ||
| 203 || DeleteRegistrationInfoLocally || | | 203 || DeleteRegistrationInfoLocally || | ||
|- | |||
| 204 || [19.0.0-19.0.1] UnregisterDeviceAsync || | |||
|- | |- | ||
| 220 || SynchronizeProfileAsync || Returns an [[#IAsyncContext]]. | | 220 || SynchronizeProfileAsync || Returns an [[#IAsyncContext]]. | ||
Line 263: | Line 349: | ||
|- | |- | ||
| 222 || SynchronizeProfileAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | | 222 || SynchronizeProfileAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | ||
|- | |||
| 223 || [19.0.0+] DownloadProfileAsync || | |||
|- | |- | ||
| 250 || IsLinkedWithNintendoAccount || | | 250 || IsLinkedWithNintendoAccount || | ||
Line 361: | Line 449: | ||
|- | |- | ||
| 103 || GetProfileImage || | | 103 || GetProfileImage || | ||
|- | |||
| 104 || [18.0.0+] [[#GetProfileLargeImage|GetProfileLargeImage]] || | |||
|- | |||
| 1000 || [19.0.0+] GetRequestForMoving || | |||
|} | |} | ||
=== GetProfileLargeImage === | |||
Takes a type-0x6 output buffer, returns an output u32. | |||
As of 18.0.0 this is stubbed, this eventually returns Result 0x167C. | |||
== IOAuthProcedureForNintendoAccountLinkage == | == IOAuthProcedureForNintendoAccountLinkage == | ||
Line 504: | Line 601: | ||
| 50 || [[#IsUserRegistrationRequestPermitted]] || | | 50 || [[#IsUserRegistrationRequestPermitted]] || | ||
|- | |- | ||
| 51 || [[#TrySelectUserWithoutInteraction]] || | | 51 || TrySelectUserWithoutInteractionDeprecated ([1.0.0-18.1.0] [[#TrySelectUserWithoutInteraction]]) || | ||
|- | |||
| 52 || [19.0.0+] TrySelectUserWithoutInteraction || | |||
|- | |- | ||
| 60 || [5.0.0-5.1.0] ListOpenContextStoredUsers || | | 60 || [5.0.0-5.1.0] ListOpenContextStoredUsers || | ||
Line 578: | Line 677: | ||
| 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | | 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 3 || LoadIdTokenCache || | | 3 || [19.0.0+] LoadIdTokenCacheDeprecated ([1.0.0-18.1.0] LoadIdTokenCache) || | ||
|- | |||
| 4 || [19.0.0+] LoadIdTokenCache || | |||
|- | |- | ||
| 130 || GetNintendoAccountUserResourceCacheForApplication || | | 130 || GetNintendoAccountUserResourceCacheForApplication || | ||
Line 634: | Line 735: | ||
| 50 || [[#IsUserRegistrationRequestPermitted]] || | | 50 || [[#IsUserRegistrationRequestPermitted]] || | ||
|- | |- | ||
| 51 || [[#TrySelectUserWithoutInteraction]] || | | 51 || TrySelectUserWithoutInteractionDeprecated ([1.0.0-18.1.0] [[#TrySelectUserWithoutInteraction]]) || | ||
|- | |||
| 52 || [19.0.0+] TrySelectUserWithoutInteraction || | |||
|- | |- | ||
| 60 || [5.0.0-5.1.0] ListOpenContextStoredUsers || | | 60 || [5.0.0-5.1.0] ListOpenContextStoredUsers || | ||
Line 676: | Line 779: | ||
| 190 || [1.0.0-9.2.0] GetUserLastOpenedApplication || | | 190 || [1.0.0-9.2.0] GetUserLastOpenedApplication || | ||
|- | |- | ||
| 191 || [7.0.0 | | 191 || [7.0.0-19.0.1] UpdateNotificationReceiverInfo ([5.0.0-5.1.0] ActivateOpenContextHolder) || | ||
|- | |- | ||
| | | 401 || [18.0.0+] GetPinCodeLength || | ||
|- | |- | ||
| 998 || DebugSetUserStateClose || | | 402 || [18.0.0-19.0.1] GetPinCode || | ||
|- | |||
| 403 || [20.0.0+] GetPinCodeParity || | |||
|- | |||
| 404 || [20.0.0+] VerifyPinCode || | |||
|- | |||
| 405 || [20.0.0+] IsPinCodeVerificationForbidden || | |||
|- | |||
| 997 || [3.0.0+] DebugInvalidateTokenCacheForUser || | |||
|- | |||
| 998 || DebugSetUserStateClose || | |||
|- | |- | ||
| 999 || DebugSetUserStateOpen || | | 999 || DebugSetUserStateOpen || | ||
Line 713: | Line 826: | ||
|- | |- | ||
| 103 || GetProfileImage || | | 103 || GetProfileImage || | ||
|- | |||
| 104 || [18.0.0+] [[#GetProfileLargeImage|GetProfileLargeImage]] || | |||
|- | |- | ||
| 110 || RegisterUserAsync || No input, returns an [[#IAsyncContext]]. | | 110 || RegisterUserAsync || No input, returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 111 || GetUid || | | 111 || GetUid || | ||
|- | |||
| 200 || [17.0.0+] ApplyResponseForUserCreationAsync || | |||
|- | |||
| 205 || [17.0.0+] SuspendAfterApplyResponse || | |||
|- | |||
| 210 || [17.0.0+] IsProfileAvailable || | |||
|- | |||
| 220 || [17.0.0+] RegisterUserAsyncWithoutProfile || | |||
|- | |||
| 221 || [17.0.0+] RegisterUserWithProfileAsync || | |||
|- | |||
| 230 || [18.0.0+] RegisterUserWithLargeImageProfileAsync || | |||
|} | |} | ||
Line 749: | Line 876: | ||
|- | |- | ||
| 2 || [6.0.0+] InvalidateAuthenticationTokenCache | | 2 || [6.0.0+] InvalidateAuthenticationTokenCache | ||
|- | |||
| 3 || [16.0.0+] IsDeviceAuthenticationTokenCacheAvailable | |||
|- | |- | ||
| 10 || [6.0.0+] EnsureEdgeTokenCacheAsync | | 10 || [6.0.0+] EnsureEdgeTokenCacheAsync | ||
Line 755: | Line 884: | ||
|- | |- | ||
| 12 || [6.0.0+] InvalidateEdgeTokenCache | | 12 || [6.0.0+] InvalidateEdgeTokenCache | ||
|- | |||
| 13 || [16.0.0+] IsEdgeTokenCacheAvailable | |||
|- | |- | ||
| 20 || [11.0.0+] EnsureApplicationAuthenticationCacheAsync | | 20 || [11.0.0+] EnsureApplicationAuthenticationCacheAsync | ||
Line 765: | Line 896: | ||
|- | |- | ||
| 24 || [11.0.0+] InvalidateApplicationAuthenticationCache | | 24 || [11.0.0+] InvalidateApplicationAuthenticationCache | ||
|- | |||
| 1000 || [15.0.0+] GetInactiveElicenseUsedEvent | |||
|- | |||
| 9000 || [15.0.0+] ImportVirtualClientCertificate | |||
|- | |||
| 9010 || [15.0.0+] DeleteVirtualClientCertificate | |||
|} | |} | ||
Line 788: | Line 925: | ||
= acc:e = | = acc:e = | ||
This is "nn::account:: | This is "nn::account::IAccountEntityServiceForAccountPolicy". | ||
This was added with [13.0.0+]. | This was added with [13.0.0+]. | ||
Line 812: | Line 949: | ||
| 50 || [[#IsUserRegistrationRequestPermitted]] || | | 50 || [[#IsUserRegistrationRequestPermitted]] || | ||
|- | |- | ||
| 51 || [[#TrySelectUserWithoutInteraction]] || | | 51 || TrySelectUserWithoutInteractionDeprecated ([1.0.0-18.1.0] [[#TrySelectUserWithoutInteraction]]) || | ||
|- | |||
| 52 || [19.0.0+] TrySelectUserWithoutInteraction || | |||
|- | |- | ||
| 99 || DebugActivateOpenContextRetention || No input, returns an [[#ISessionObject]]. | | 99 || DebugActivateOpenContextRetention || No input, returns an [[#ISessionObject]]. | ||
Line 850: | Line 989: | ||
| 170 || GetNasOp2MembershipStateChangeNotifier || | | 170 || GetNasOp2MembershipStateChangeNotifier || | ||
|- | |- | ||
| 191 || UpdateNotificationReceiverInfo || | | 191 || [13.0.0-19.0.1] UpdateNotificationReceiverInfo || | ||
|- | |- | ||
| 200 || BeginUserRegistration || | | 200 || BeginUserRegistration || | ||
Line 871: | Line 1,010: | ||
|- | |- | ||
| 212 || ResumeProcedureToRegisterUserWithNintendoAccount || Takes a total of 0x14-bytes of input and a handle, returns an [[#IOAuthProcedureForUserRegistration]]. | | 212 || ResumeProcedureToRegisterUserWithNintendoAccount || Takes a total of 0x14-bytes of input and a handle, returns an [[#IOAuthProcedureForUserRegistration]]. | ||
|- | |||
| 213 || [17.0.0+] CreateProcedureToCreateUserWithNintendoAccount || | |||
|- | |||
| 214 || [17.0.0+] ResumeProcedureToCreateUserWithNintendoAccount || | |||
|- | |||
| 215 || [17.0.0+] ResumeProcedureToCreateUserWithNintendoAccountAfterApplyResponse || | |||
|- | |- | ||
| 230 || AuthenticateServiceAsync || Returns an [[#IAsyncContext]]. | | 230 || AuthenticateServiceAsync || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 250 || GetBaasAccountAdministrator || Returns an [[#IAdministrator]]. | | 250 || GetBaasAccountAdministrator || Returns an [[#IAdministrator]]. | ||
|- | |||
| 251 || [20.0.0+] SynchronizeNetworkServiceAccountsSnapshotAsync || | |||
|- | |- | ||
| 290 || ProxyProcedureForGuestLoginWithNintendoAccount || Returns an [[#IOAuthProcedureForExternalNsa]]. | | 290 || ProxyProcedureForGuestLoginWithNintendoAccount || Returns an [[#IOAuthProcedureForExternalNsa]]. | ||
|- | |- | ||
| 291 || ProxyProcedureForFloatingRegistrationWithNintendoAccount || Returns an [[#IOAuthProcedureForExternalNsa]]. | | 291 || ProxyProcedureForFloatingRegistrationWithNintendoAccount || Returns an [[#IOAuthProcedureForExternalNsa]]. | ||
|- | |||
| 292 || [20.0.0+] ProxyProcedureForDeviceMigrationAuthenticatingOperatingUser || | |||
|- | |||
| 293 || [20.0.0+] ProxyProcedureForDeviceMigrationDownload || | |||
|- | |- | ||
| 299 || SuspendBackgroundDaemon || Returns an [[#ISessionObject]]. | | 299 || SuspendBackgroundDaemon || Returns an [[#ISessionObject]]. | ||
|- | |||
| 350 || [20.0.0+] CreateDeviceMigrationUserExportRequest || | |||
|- | |||
| 351 || [20.0.0+] UploadNasCredential || | |||
|- | |||
| 352 || [20.0.0+] CreateDeviceMigrationUserImportRequest || | |||
|- | |||
| 353 || [20.0.0+] DeleteUserMigrationSaveData || | |||
|- | |||
| 400 || [18.0.0+] SetPinCode || | |||
|- | |||
| 401 || [18.0.0+] GetPinCodeLength || | |||
|- | |||
| 402 || [18.0.0-19.0.1] GetPinCode || | |||
|- | |||
| 403 || [20.0.0+] GetPinCodeParity || | |||
|- | |||
| 404 || [20.0.0+] VerifyPinCode || | |||
|- | |||
| 405 || [20.0.0+] IsPinCodeVerificationForbidden || | |||
|- | |||
| 410 || [18.0.0+] GetPinCodeErrorCount || | |||
|- | |||
| 411 || [18.0.0-19.0.1] ResetPinCodeErrorCount || | |||
|- | |||
| 412 || [18.0.0-19.0.1] IncrementPinCodeErrorCount || | |||
|- | |||
| 413 || [20.0.0+] SetPinCodeErrorCount || | |||
|- | |||
| 420 || [19.0.0+] SetStartPenaltyTime || | |||
|- | |||
| 421 || [19.0.0+] GetStartPenaltyTime || | |||
|- | |- | ||
| 900 || SetUserUnqualifiedForDebug || | | 900 || SetUserUnqualifiedForDebug || | ||
Line 887: | Line 1,070: | ||
|- | |- | ||
| 902 || ListUsersUnqualifiedForDebug || | | 902 || ListUsersUnqualifiedForDebug || | ||
|- | |||
| 910 || [16.0.0+] RefreshFirmwareSettingsForDebug || | |||
|- | |- | ||
| 997 || DebugInvalidateTokenCacheForUser || | | 997 || DebugInvalidateTokenCacheForUser || | ||
Line 894: | Line 1,079: | ||
| 999 || DebugSetUserStateOpen || | | 999 || DebugSetUserStateOpen || | ||
|- | |- | ||
| 1000 || | | 1000 || CreateIAccountEntityServiceForApplication || Returns an [[#IAccountEntityServiceForApplication]]. | ||
|- | |- | ||
| 1100 || | | 1100 || CreateIUserStateManager || Returns an [[#IUserStateManager]]. | ||
|- | |- | ||
| 10050 || || | | 10050 || IsUserRegistrationRequestPermittedForAccountPolicy || | ||
|- | |- | ||
| 10105 || || | | 10105 || CheckNetworkServiceAvailabilityAsyncForAccountPolicy || | ||
|} | |} | ||
Line 917: | Line 1,102: | ||
|- | |- | ||
| 11 || [[#LoadImage]] | | 11 || [[#LoadImage]] | ||
|- | |||
| 20 || [18.0.0+] GetLargeImageSize | |||
|- | |||
| 21 || [18.0.0+] LoadLargeImage | |||
|- | |||
| 30 || [18.0.0+] GetImageId | |||
|- | |||
| 40 || [19.0.0+] GetStableUserId | |||
|} | |} | ||
Line 947: | Line 1,140: | ||
|- | |- | ||
| 11 || [[#LoadImage]] | | 11 || [[#LoadImage]] | ||
|- | |||
| 20 || [18.0.0+] GetLargeImageSize | |||
|- | |||
| 21 || [18.0.0+] LoadLargeImage | |||
|- | |||
| 30 || [18.0.0+] GetImageId | |||
|- | |||
| 40 || [19.0.0+] GetStableUserId | |||
|- | |- | ||
| 100 || [[#Store]] | | 100 || [[#Store]] | ||
|- | |- | ||
| 101 || [[#StoreWithImage]] | | 101 || [[#StoreWithImage]] | ||
|- | |||
| 110 || [18.0.0+] StoreWithLargeImage | |||
|} | |} | ||
Line 1,008: | Line 1,211: | ||
| 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | | 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 3 || LoadIdTokenCache || | | 3 || [19.0.0+] LoadIdTokenCacheDeprecated ([1.0.0-18.1.0] LoadIdTokenCache) || | ||
|- | |||
| 4 || [19.0.0+] LoadIdTokenCache || | |||
|- | |- | ||
| 100 || SetSystemProgramIdentification || | | 100 || SetSystemProgramIdentification || | ||
Line 1,014: | Line 1,219: | ||
| 101 || RefreshNotificationTokenAsync || | | 101 || RefreshNotificationTokenAsync || | ||
|- | |- | ||
| 110 || | | 110 || GetServiceEntryRequirementCacheForLogin || | ||
|- | |- | ||
| 111 || InvalidateServiceEntryRequirementCache || | | 111 || InvalidateServiceEntryRequirementCache || | ||
Line 1,035: | Line 1,240: | ||
|- | |- | ||
| 135 || RefreshNintendoAccountVerificationUrlCacheAsyncIfSecondsElapsed || | | 135 || RefreshNintendoAccountVerificationUrlCacheAsyncIfSecondsElapsed || | ||
|- | |||
| 136 || [19.0.0+] GetNintendoAccountUserResourceCache || | |||
|- | |- | ||
| 140 || GetNetworkServiceLicenseCache || | | 140 || GetNetworkServiceLicenseCache || | ||
Line 1,041: | Line 1,248: | ||
|- | |- | ||
| 142 || RefreshNetworkServiceLicenseCacheAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | | 142 || RefreshNetworkServiceLicenseCacheAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | ||
|- | |||
| 143 || [15.0.0+] GetNetworkServiceLicenseCacheEx || | |||
|- | |- | ||
| 150 || CreateAuthorizationRequest || Returns an [[#IAuthorizationRequest]]. | | 150 || CreateAuthorizationRequest || Returns an [[#IAuthorizationRequest]]. | ||
|- | |||
| 160 || [15.0.0+] RequiresUpdateNetworkServiceAccountIdTokenCache || | |||
|- | |||
| 161 || [16.0.0+] RequireReauthenticationOfNetworkServiceAccount || | |||
|- | |||
| 180 || [18.0.0-19.0.1] GetRequestForNintendoAccountReauthentication || | |||
|- | |||
| 181 || [20.0.0+] CreateProcedureToReauthenticateNintendoAccount || | |||
|- | |||
| 182 || [20.0.0+] ResumeProcedureToReauthenticateNintendoAccount || | |||
|} | |} | ||
Line 1,061: | Line 1,280: | ||
|- | |- | ||
| 15 || GetProfileImage || | | 15 || GetProfileImage || | ||
|- | |||
| 16 || [18.0.0+] [[#GetProfileLargeImage|GetProfileLargeImage]] || | |||
|- | |- | ||
| 21 || LoadIdTokenCache || | | 21 || LoadIdTokenCache || | ||
Line 1,090: | Line 1,311: | ||
| 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | | 2 || EnsureIdTokenCacheAsync || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 3 || LoadIdTokenCache || | | 3 || [19.0.0+] LoadIdTokenCacheDeprecated ([1.0.0-18.1.0] LoadIdTokenCache) || | ||
|- | |||
| 4 || [19.0.0+] LoadIdTokenCache || | |||
|- | |- | ||
| 100 || SetSystemProgramIdentification || | | 100 || SetSystemProgramIdentification || | ||
|- | |- | ||
| 101 || RefreshNotificationTokenAsync | | 101 || [7.0.0+] RefreshNotificationTokenAsync | ||
|- | |- | ||
| 110 || GetServiceEntryRequirementCache || | | 110 || [4.0.0+] GetServiceEntryRequirementCache || | ||
|- | |- | ||
| 111 || InvalidateServiceEntryRequirementCache || | | 111 || [4.0.0+] InvalidateServiceEntryRequirementCache || | ||
|- | |||
| 112 || [4.0.0-6.2.0] InvalidateTokenCache || | |||
|- | |- | ||
| 113 || GetServiceEntryRequirementCacheForOnlinePlay || Takes a total of 0x8-bytes of input, returns a total of 0x4-bytes of output. | | 113 || [6.1.0+] GetServiceEntryRequirementCacheForOnlinePlay || Takes a total of 0x8-bytes of input, returns a total of 0x4-bytes of output. | ||
|- | |- | ||
| 120 || GetNintendoAccountId || | | 120 || GetNintendoAccountId || | ||
|- | |- | ||
| 121 || CalculateNintendoAccountAuthenticationFingerprint || | | 121 || [9.0.0+] CalculateNintendoAccountAuthenticationFingerprint || | ||
|- | |- | ||
| 130 || GetNintendoAccountUserResourceCache || | | 130 || GetNintendoAccountUserResourceCache || | ||
Line 1,112: | Line 1,337: | ||
| 132 || RefreshNintendoAccountUserResourceCacheAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | | 132 || RefreshNintendoAccountUserResourceCacheAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 133 || GetNintendoAccountVerificationUrlCache || | | 133 || [9.0.0+] GetNintendoAccountVerificationUrlCache || | ||
|- | |- | ||
| 134 || RefreshNintendoAccountVerificationUrlCacheAsync || | | 134 || [9.0.0+] RefreshNintendoAccountVerificationUrlCacheAsync || | ||
|- | |- | ||
| 135 || RefreshNintendoAccountVerificationUrlCacheAsyncIfSecondsElapsed || | | 135 || [9.0.0+] RefreshNintendoAccountVerificationUrlCacheAsyncIfSecondsElapsed || | ||
|- | |- | ||
| | | 136 || [19.0.0+] GetNintendoAccountUserResourceCache || | ||
|- | |- | ||
| 141 || RefreshNetworkServiceLicenseCacheAsync || | | 140 || [5.0.0+] GetNetworkServiceLicenseCache || | ||
|- | |||
| 141 || [5.0.0+] RefreshNetworkServiceLicenseCacheAsync || | |||
|- | |||
| 142 || [5.0.0+] RefreshNetworkServiceLicenseCacheAsyncIfSecondsElapsed || | |||
|- | |- | ||
| | | 143 || [15.0.0+] GetNetworkServiceLicenseCacheEx || | ||
|- | |- | ||
| 150 || CreateAuthorizationRequest || Returns an [[#IAuthorizationRequest]]. | | 150 || CreateAuthorizationRequest || Returns an [[#IAuthorizationRequest]]. | ||
|- | |||
| 160 || [15.0.0+] RequiresUpdateNetworkServiceAccountIdTokenCache || | |||
|- | |||
| 161 || [16.0.0+] RequireReauthenticationOfNetworkServiceAccount || | |||
|- | |||
| 180 || [18.0.0-19.0.1] GetRequestForNintendoAccountReauthentication || | |||
|- | |||
| 181 || [20.0.0+] CreateProcedureToReauthenticateNintendoAccount || | |||
|- | |||
| 182 || [20.0.0+] ResumeProcedureToReauthenticateNintendoAccount || | |||
|- | |- | ||
| 200 || IsRegistered || | | 200 || IsRegistered || | ||
Line 1,133: | Line 1,372: | ||
|- | |- | ||
| 203 || DeleteRegistrationInfoLocally || | | 203 || DeleteRegistrationInfoLocally || | ||
|- | |||
| 204 || [19.0.0-19.0.1] UnregisterDeviceAsync || | |||
|- | |- | ||
| 220 || SynchronizeProfileAsync || Returns an [[#IAsyncContext]]. | | 220 || SynchronizeProfileAsync || Returns an [[#IAsyncContext]]. | ||
Line 1,139: | Line 1,380: | ||
|- | |- | ||
| 222 || SynchronizeProfileAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | | 222 || SynchronizeProfileAsyncIfSecondsElapsed || Returns an [[#IAsyncContext]]. | ||
|- | |||
| 223 || [19.0.0+] DownloadProfileAsync || | |||
|- | |- | ||
| 250 || IsLinkedWithNintendoAccount || | | 250 || IsLinkedWithNintendoAccount || | ||
Line 1,150: | Line 1,393: | ||
| 256 || ResumeProcedureToUpdateLinkageStateOfNintendoAccount || Returns an [[#IOAuthProcedure]]. | | 256 || ResumeProcedureToUpdateLinkageStateOfNintendoAccount || Returns an [[#IOAuthProcedure]]. | ||
|- | |- | ||
| 260 || CreateProcedureToLinkNnidWithNintendoAccount || Returns an [[#IOAuthProcedure]]. | | 260 || [3.0.0+] CreateProcedureToLinkNnidWithNintendoAccount || Returns an [[#IOAuthProcedure]]. | ||
|- | |- | ||
| 261 || ResumeProcedureToLinkNnidWithNintendoAccount || Returns an [[#IOAuthProcedure]]. | | 261 || [3.0.0+] ResumeProcedureToLinkNnidWithNintendoAccount || Returns an [[#IOAuthProcedure]]. | ||
|- | |- | ||
| 280 || ProxyProcedureToAcquireApplicationAuthorizationForNintendoAccount || Returns an [[#IOAuthProcedure]]. | | 280 || ProxyProcedureToAcquireApplicationAuthorizationForNintendoAccount || Returns an [[#IOAuthProcedure]]. | ||
|- | |- | ||
| 290 || GetRequestForNintendoAccountUserResourceView || | | 290 || [8.0.0+] GetRequestForNintendoAccountUserResourceView || | ||
|- | |- | ||
| 300 || TryRecoverNintendoAccountUserStateAsync || Returns an [[#IAsyncContext]]. | | 300 || [6.0.0+] TryRecoverNintendoAccountUserStateAsync || Returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 400 || IsServiceEntryRequirementCacheRefreshRequiredForOnlinePlay || Takes a total of 0x8-bytes of input, returns an output u8. | | 400 || [6.1.0+] IsServiceEntryRequirementCacheRefreshRequiredForOnlinePlay || Takes a total of 0x8-bytes of input, returns an output u8. | ||
|- | |- | ||
| 401 || RefreshServiceEntryRequirementCacheForOnlinePlayAsync || Takes a total of 0x8-bytes of input, returns an [[#IAsyncContext]]. | | 401 || [6.1.0+] RefreshServiceEntryRequirementCacheForOnlinePlayAsync || Takes a total of 0x8-bytes of input, returns an [[#IAsyncContext]]. | ||
|- | |- | ||
| 900 || GetAuthenticationInfoForWin || | | 900 || [9.0.0+] GetAuthenticationInfoForWin || | ||
|- | |- | ||
| 901 || ImportAsyncForWin || | | 901 || [9.0.0+] ImportAsyncForWin || | ||
|- | |- | ||
| 997 || DebugUnlinkNintendoAccountAsync || Returns an [[#IAsyncContext]]. | | 997 || DebugUnlinkNintendoAccountAsync || Returns an [[#IAsyncContext]]. | ||
Line 1,257: | Line 1,500: | ||
|- | |- | ||
| 101 || IsNetworkServiceAccountReplaced || | | 101 || IsNetworkServiceAccountReplaced || | ||
|- | |||
| 200 || [16.0.0+] ApplyAsyncWithAuthorizedToken || | |||
|} | |} | ||
Line 1,289: | Line 1,534: | ||
|} | |} | ||
== | == IAccountEntityServiceForApplication == | ||
This is "nn::account:: | This is "nn::account::IAccountEntityServiceForApplication". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,312: | Line 1,557: | ||
| 50 || [[#IsUserRegistrationRequestPermitted]] || | | 50 || [[#IsUserRegistrationRequestPermitted]] || | ||
|- | |- | ||
| 51 || [[#TrySelectUserWithoutInteraction]] || | | 51 || TrySelectUserWithoutInteractionDeprecated ([1.0.0-18.1.0] [[#TrySelectUserWithoutInteraction]]) || | ||
|- | |||
| 52 || [19.0.0+] TrySelectUserWithoutInteraction || | |||
|- | |- | ||
| 99 || DebugActivateOpenContextRetention || No input, returns an [[#ISessionObject]]. | | 99 || DebugActivateOpenContextRetention || No input, returns an [[#ISessionObject]]. | ||
Line 1,342: | Line 1,589: | ||
| 160 || InitializeApplicationInfoV2 || | | 160 || InitializeApplicationInfoV2 || | ||
|- | |- | ||
| 10050 || || | | 10050 || IsUserRegistrationRequestPermittedForAccountPolicy || | ||
|- | |- | ||
| 10100 || || | | 10100 || InitializeApplicationInfoV0ForAccountPolicy || | ||
|- | |- | ||
| 10140 || || | | 10140 || InitializeApplicationInfoV1ForAccountPolicy || | ||
|- | |- | ||
| 10160 || || | | 10160 || InitializeApplicationInfoV2ForAccountPolicy || | ||
|} | |} | ||
Line 1,381: | Line 1,628: | ||
|- | |- | ||
| 15 || GetProfileImage | | 15 || GetProfileImage | ||
|- | |||
| 16 || [18.0.0+] [[#GetProfileLargeImage|GetProfileLargeImage]] | |||
|- | |- | ||
| 21 || LoadIdTokenCache | | 21 || LoadIdTokenCache | ||
Line 1,427: | Line 1,676: | ||
|} | |} | ||
== | == IUserStateManager == | ||
This is "nn::account::detail::IUserStateManager". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Cmd || Name || | ! Cmd || Name | ||
|- | |||
| 100 || EnableQualificationLimitation | |||
|- | |||
| 101 || DisableQualificationLimitation | |||
|- | |||
| 110 || SelectQualifiedUsers | |||
|- | |- | ||
| | | 900 || [14.0.0+] SetUserUnqualifiedForDebug | ||
|- | |- | ||
| | | 901 || [14.0.0+] UnsetUserUnqualifiedForDebug | ||
|- | |- | ||
| | | 902 || [14.0.0+] ListUsersUnqualifiedForDebug | ||
|} | |} | ||
= acc:e:u1 = | = acc:e:u1 = | ||
This is "nn::account:: | This is "nn::account::IAccountServiceForSystemService". | ||
This was added with [13.0.0+]. | This was added with [13.0.0+]. | ||
Line 1,464: | Line 1,721: | ||
| 50 || [[#IsUserRegistrationRequestPermitted]] || | | 50 || [[#IsUserRegistrationRequestPermitted]] || | ||
|- | |- | ||
| 51 || [[#TrySelectUserWithoutInteraction]] || | | 51 || TrySelectUserWithoutInteractionDeprecated ([1.0.0-18.1.0] [[#TrySelectUserWithoutInteraction]]) || | ||
|- | |- | ||
| 99 || DebugActivateOpenContextRetention || No input, returns an [[#ISessionObject]]. | | 99 || DebugActivateOpenContextRetention || No input, returns an [[#ISessionObject]]. | ||
Line 1,512: | Line 1,769: | ||
= acc:e:u2 = | = acc:e:u2 = | ||
This is "nn::account:: | This is "nn::account::IAccountServiceForSystemServiceWithProfileEditor". | ||
This was added with [13.0.0+]. | This was added with [13.0.0+]. | ||
Line 1,536: | Line 1,793: | ||
| 50 || [[#IsUserRegistrationRequestPermitted]] || | | 50 || [[#IsUserRegistrationRequestPermitted]] || | ||
|- | |- | ||
| 51 || [[#TrySelectUserWithoutInteraction]] || | | 51 || TrySelectUserWithoutInteractionDeprecated ([1.0.0-18.1.0] [[#TrySelectUserWithoutInteraction]]) || | ||
|- | |||
| 52 || [19.0.0+] TrySelectUserWithoutInteraction || | |||
|- | |- | ||
| 99 || DebugActivateOpenContextRetention || No input, returns an [[#ISessionObject]]. | | 99 || DebugActivateOpenContextRetention || No input, returns an [[#ISessionObject]]. | ||
Line 1,574: | Line 1,833: | ||
| 170 || GetNasOp2MembershipStateChangeNotifier || | | 170 || GetNasOp2MembershipStateChangeNotifier || | ||
|- | |- | ||
| 191 || UpdateNotificationReceiverInfo || | | 191 || [13.0.0-19.0.1] UpdateNotificationReceiverInfo || | ||
|- | |- | ||
| 205 || GetProfileEditor || Takes an input userID and returns an [[#IProfileEditor]]. | | 205 || GetProfileEditor || Takes an input userID and returns an [[#IProfileEditor]]. | ||
|- | |||
| 401 || [18.0.0+] GetPinCodeLength || | |||
|- | |||
| 402 || [18.0.0-19.0.1] GetPinCode || | |||
|- | |||
| 403 || [20.0.0+] GetPinCodeParity || | |||
|- | |||
| 404 || [20.0.0+] VerifyPinCode || | |||
|- | |||
| 405 || [20.0.0+] IsPinCodeVerificationForbidden || | |||
|- | |- | ||
| 997 || DebugInvalidateTokenCacheForUser || | | 997 || DebugInvalidateTokenCacheForUser || |