ACTU:GetCachedIndependentServiceToken: Difference between revisions
Jump to navigation
Jump to search
TimmSkiller (talk | contribs) Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x001C|13|2}} {{IPC/RequestEntry|u8, Account slot}} {{IPC/RequestEntryRange|9|ASCII NULL-terminated client ID (max. 32 characters..." |
TimmSkiller (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
{{IPC/RequestEntry|bool, do parental controls check (unused)}} | {{IPC/RequestEntry|bool, do parental controls check (unused)}} | ||
{{IPC/RequestEntry|bool, get a non-process specific service token from the cache}} | {{IPC/RequestEntry|bool, get a non-process specific service token from the cache}} | ||
{{IPC/MapPointerW|Output token buffer pointer | {{IPC/MapPointerW|Output [[ACT_Services#V1_Independent_Service_Token|V1 independent service token]] buffer pointer}} | ||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
Line 15: | Line 15: | ||
{{IPC/RequestHeader|0x001C|1|2}} | {{IPC/RequestHeader|0x001C|1|2}} | ||
{{IPC/RequestEntry|Result code}} | {{IPC/RequestEntry|Result code}} | ||
{{IPC/MapPointerW|Output token buffer pointer}} | {{IPC/MapPointerW|Output [[ACT_Services#V1_Independent_Service_Token|V1 independent service token]] buffer pointer}} | ||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
=Description= | =Description= | ||
Returns a V1 independent service token corresponding to the given account and client ID from | Returns a V1 independent service token corresponding to the given account and client ID from an internal cache. | ||
For a cached token to be considered valid for being returned by this command, it must have been acquired within | For a cached token to be considered valid for being returned by this command, it must have been acquired within the last <code>Cache duration</code> seconds. | ||
It is not possible to retrieve cached V2 independent service tokens using this command. | It is not possible to retrieve cached V2 independent service tokens using this command. | ||
See [[ACT_Services#Independent_Service_Tokens|Independent Service Tokens]] for details. |
Latest revision as of 22:50, 20 January 2025
Request
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | u8, Account slot | ||||||||
2-10 | ASCII NULL-terminated client ID (max. 32 characters + NULL terminator) | ||||||||
11 | Cache duration in seconds | ||||||||
12 | bool, do parental controls check (unused) | ||||||||
13 | bool, get a non-process specific service token from the cache | ||||||||
14 | Descriptor for mapping a write-only buffer in the target process | ||||||||
15 | Output V1 independent service token buffer pointer |
Response
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2 | Descriptor for mapping a write-only buffer in the target process | ||||||||
3 | Output V1 independent service token buffer pointer |
Description
Returns a V1 independent service token corresponding to the given account and client ID from an internal cache.
For a cached token to be considered valid for being returned by this command, it must have been acquired within the last Cache duration
seconds.
It is not possible to retrieve cached V2 independent service tokens using this command.
See Independent Service Tokens for details.