Class: UNBSSRefreshAPITokenAction
// NBSSRefreshAPITokenAction.h : 26
class NBSUBSCRIBESTARAPICLIENT_API UNBSSRefreshAPITokenAction
: public UCancellableAsyncAction;
Reflection-enabled
Refreshes an existing API access token.
Properties
-
OnCompletepublic: FNBSSRefreshAPITokenActionEvent OnComplete;
Reflection-enabled
Specifiers:
- BlueprintAssignable
Event invoked when token refresh is completed successfully -
OnFailpublic: 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
-
WorldContextconst UObject* WorldContext -
TokenInfoconst FNBSubscribeStarAPITokenInfo TokenInfo -
ClientIDconst FString ClientID -
ClientSecretconst FString ClientSecret
Returns
-
UNBSSRefreshAPITokenAction*
For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com