Function ACT_AcquireIndependentServiceTokenV2

Source
pub unsafe extern "C" fn ACT_AcquireIndependentServiceTokenV2(
    accountSlot: u8_,
    clientId: *mut c_char,
    cacheDuration: u32_,
    doParentalControlsCheck: bool,
    shared: bool,
    callerProcessId: u32_,
    completionEvent: Handle,
) -> Result
Expand description

Requests a V2 independent service token for a specific account.

ยงArguments

  • accountSlot - The account slot number of the account to request the token with.
  • clientId - The client ID to use for requesting the independent service token.
  • cacheDuration - The duration in seconds to cache the token. If a token was requested within the past cacheDuration seconds, this command returns that token instead of requesting a new one. Passing 0 will cause ACT to always request a new token.
  • doParentalControlsCheck - Whether or not to perform a parental controls check before requesting the token. (unused)
  • shared - Whether or not this token should be shared with other processes. If set to false, it will only be accessible to the process with the given process ID.
  • callerProcessId - The process ID of the process requesting the token.
  • completionEvent - The event handle to signal once the request has finished.