Function ACT_GetCachedIndependentServiceTokenV2

Source
pub unsafe extern "C" fn ACT_GetCachedIndependentServiceTokenV2(
    token: *mut IndependentServiceTokenV2,
    accountSlot: u8_,
    clientId: *mut c_char,
    cacheDuration: u32_,
    doParentralControlsCheck: bool,
    shared: bool,
) -> Result
Expand description

Gets a cached V2 independent service token for a specific account.

ยงArguments

  • accountSlot - The account slot number of the account to get the token for.
  • clientId - The client ID to use for the cache lookup.
  • cacheDuration - The duration in seconds ago this token must have been requested in at least for it to be eligible for retrieval.
  • doParentalControlsCheck - Whether or not to perform a parental controls check before getting the token. (unused)
  • shared - Whether or not to only look for shared (non-process-specific) tokens in the cache.