Class: UNBSSRefreshAPITokenAction
// NBSSRefreshAPITokenAction.h : 26
class NBSUBSCRIBESTARAPICLIENT_API UNBSSRefreshAPITokenAction
: public UCancellableAsyncAction;
Reflection-enabled
Refreshes an existing API access token.
Properties
-
OnComplete
public: FNBSSRefreshAPITokenActionEvent OnComplete;
Reflection-enabled
Specifiers:
- BlueprintAssignable
Event invoked when token refresh is completed successfully -
OnFail
public: FNBSSRefreshAPITokenActionFailedEvent OnFail;
Reflection-enabled
Specifiers:
- BlueprintAssignable
Event invoked if token refresh fails for any reason
Methods
-
Activate
// NBSSRefreshAPITokenAction.h : 53 public: virtual void Activate() override;
Starts the task
-
Cancel
// NBSSRefreshAPITokenAction.h : 58 public: virtual void Cancel() override;
Can be called to cancel the task and prevent callbacks from being called
-
RefreshAPITokenAsyncAction
// NBSSRefreshAPITokenAction.h : 35 public: static UNBSSRefreshAPITokenAction* RefreshAPITokenAsyncAction( const UObject* WorldContext, const FNBSubscribeStarAPITokenInfo TokenInfo, const FString ClientID, const FString ClientSecret );
Reflection-enabled
Specifiers:
- BlueprintCallable
- Category = NBSubscribeStarAPIClient
Meta Specifiers:
- DisplayName = Refresh API Token
- Keywords = SubscribeStar
- WorldContext = WorldContext
- BlueprintInternalUseOnly = true
Refreshes an API access token
Arguments
-
WorldContext
const UObject* WorldContext
-
TokenInfo
const FNBSubscribeStarAPITokenInfo TokenInfo
-
ClientID
const FString ClientID
-
ClientSecret
const FString ClientSecret
Returns
-
UNBSSRefreshAPITokenAction*
For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com