BP Function: Parse API Token Info
| C++ Impl | UNBPatreonAPIClientBPLibrary |
|---|
Parses an API Token Info from a JSON String.
It is expected that the JSON string will be of the form:
{
"access_token" : <single use token>,
"refresh_token" : <single use token>,
"expires_in" : <token lifetime duration>,
"scope" : <token scopes>,
"token_type" : "Bearer"
}
Inputs
Outputs
-
Token InfoAPI Token InfoThe parsed token, if the input string could be parsed.
-
SuccessboolTrueif the parsing was successful, otherwiseFalse. If this value isFalse,Token Infoshould not be used and will be invalid.
For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com