getTokenInfo

suspend fun getTokenInfo(): Result<TokenInfo>

Returns an instance of TokenInfo generated by this credential. If the token has expired, this method regenerates the access token. Token expiration is based on the TokenCredential.tokenExpirationInterval.

Return

A Result containing the non-expired token information generated by this credential.

Since

200.1.0