ACTU:GetCachedIndependentServiceToken: Difference between revisions

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
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 (0x201 in size)}}
{{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 the an internal cache.
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 at least <code>Cache duration in seconds</code> seconds.
For a cached token to be considered valid for being returned by this command, it must have been acquired within at least <code>Cache duration in seconds</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.