Documentation

Auth::PluginAuthTask::Token

Method in PluginAuthTask

string Token()

Returns the authentication token as a string. This is the token you should send to your server, which should validate it using the Openplanet.dev API. Note that the token is only valid for 5 minutes. Because of this, you should not be storing this token! Instead, exchange it with a token of your own from your backend which you keep validated for a longer period of time.

Returns string