1,258 bytes added
, Yesterday at 20:18
=Request=
{{IPC/Request}}
{{IPC/RequestHeader|0x0022|13|2}}
{{IPC/RequestEntry|u8, Account slot}}
{{IPC/RequestEntryRange|9|ASCII NULL-terminated client ID (max. 32 characters + NULL terminator)}}
{{IPC/RequestEntry|Cache duration in seconds}}
{{IPC/RequestEntry|bool, do parental controls check (unused)}}
{{IPC/RequestEntry|bool, get a non-process specific service token from the cache}}
{{IPC/MapPointerW|Output [[ACT_Services#V2_Independent_Service_Token|V2 independent service token]] buffer pointer}}
{{IPC/RequestEnd}}
=Response=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestHeader|0x0022|1|2}}
{{IPC/RequestEntry|Result code}}
{{IPC/MapPointerW|Output [[ACT_Services#V2_Independent_Service_Token|V2 independent service token]] buffer pointer}}
{{IPC/RequestEnd}}
=Description=
Returns a V2 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.
It is not possible to retrieve cached V1 independent service tokens using this command.
See [[ACT_Services#Independent_Service_Tokens|Independent Service Tokens]] for details.