getTokenExpiry

Validates an authorisation token and returns a SysTime of when it expires.

version(TwitchSupport && WithTwitchPlugin)
getTokenExpiry

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

authToken string

Authorisation token to validate and check expiry of.

Return Value

Type: auto

A SysTime of when the passed token expires.