OAuth2PersistentTokens (STRUCT)ΒΆ

TYPE OAuth2PersistentTokens : STRUCT

Structure with tokens and additional information. This structure can be used to store the tokens and the timestamp.

InOut:

Name

Type

Comment

wsDeviceCode

WSTRING(Param.g_udiMaxOAuth2TokenSize)

The device code for the request (only relevant for grant type: device code (IOAuth2DeviceAuth))

wsAccessToken

WSTRING(Param.g_udiMaxOAuth2TokenSize)

The access token

wsRefreshToken

WSTRING(Param.g_udiMaxOAuth2TokenSize)

The refresh token

wsIdToken

WSTRING(Param.g_udiMaxOAuth2TokenSize)

The id token (only relevant for grant type: device code (IOAuth2DeviceAuth) and Open-ID requests)

udiExpiresIn

UDINT

Validity of the access token in seconds

udiTimestampAccessToken

UDINT

Timestamp of the access token