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 Info
API Token Info
The parsed token, if the input string could be parsed.
-
Success
bool
True
if the parsing was successful, otherwiseFalse
. If this value isFalse
,Token Info
should 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