OAuth2DeviceAuth (FB)ΒΆ

FUNCTION_BLOCK OAuth2DeviceAuth IMPLEMENTS IOAuth2DeviceAuth

Function block for the OAuth2 request type (flow): Device Authorization Grant (device code) You can get the data from your OAuth2 provider.

InOut:

Scope

Name

Type

Comment

Input Const

wsClientId

WSTRING(255)

The client id (from your provider)

wsClientSecret

WSTRING(255)

The client secret (from your provider)

wsScope

WSTRING(255)

The scope of the authorization (from your provider)

sDeviceCodeRequestUri

STRING(1024)

The url to request the device code (from your provider)

Properties:

Structure: