Class: Toybox.Authentication.OAuthMessage

Overview

An OAuthMessage received by the callback registered in registerForOAuthMessages().

Unlike the data in the Message parent class, data in an OAuthMessage should always be a Dictionary.

Since:

API Level 3.3.0

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var responseCode

An HTTP response code (positive value) or BLE error code (negative value).

Note:

The value in this field is unreliable and should not be referenced. It is generally safer to examine the message payload to check the status of the response.

Since:

API Level 3.3.0

Returns:

Instance Method Details

initialize()

Constructor

Since:

API Level 3.3.0


Generated Sep 25, 2023 12:31:45 PM