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
wsClientIdWSTRING(255)The client id (from your provider)
wsClientSecretWSTRING(255)The client secret (from your provider)
wsScopeWSTRING(255)The scope of the authorization (from your provider)
sDeviceCodeRequestUriSTRING(1024)The url to request the device code (from your provider)
Properties:
Structure: