ACTU:GetCachedIndependentServiceTokenV2
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 V2 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 V2 independent service token buffer pointer |
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 Cache duration
seconds.
It is not possible to retrieve cached V1 independent service tokens using this command.
See Independent Service Tokens for details.