Skip to main content
This helper method returns the number of seconds remaining until the secured API key expires, as defined by its validUntil property. If the key has already expired, the method returns a negative value representing the number of seconds since expiration.

Usage

var expires = client.GetSecuredApiKeyRemainingValidity(
  securedApiKey,
)

Parameters

  • C#
  • Go
  • Java
  • JavaScript
  • Kotlin
  • PHP
  • Python
  • Ruby
  • Scala
  • Swift
securedApiKey
string
required
The secured API key you want to test. For more information, see Generate secured API key.
I