Class: URefreshAPITokenAsyncAction

//  RefreshAPITokenAsyncAction.h : 17

class NBPATREONAPICLIENT_API URefreshAPITokenAsyncAction
    : public UCancellableAsyncAction;

Reflection-enabled


Refreshes an existing API access token


Properties

  • OnComplete

    public:
    FRefreshAPITokenAsyncActionEvent OnComplete;
    

    Reflection-enabled

    Specifiers:

    • BlueprintAssignable

    Event invoked when token refresh is completed successfully
  • OnFail

    public:
    FRefreshAPITokenAsyncActionFailedEvent OnFail;
    

    Reflection-enabled

    Specifiers:

    • BlueprintAssignable

    Event invoked if token refresh fails for any reason

Methods

  • Activate

    //  RefreshAPITokenAsyncAction.h : 44
    
    public:
    virtual void Activate() override;
    

    Starts the task

  • Cancel

    //  RefreshAPITokenAsyncAction.h : 49
    
    public:
    virtual void Cancel() override;
    

    Can be called to cancel the task and prevent callbacks from being called

  • RefreshAPITokenAsyncAction

    //  RefreshAPITokenAsyncAction.h : 26
    
    public:
    static URefreshAPITokenAsyncAction* RefreshAPITokenAsyncAction(
        const UObject* WorldContext,
        const FAPITokenInfo TokenInfo,
        const FString ClientID,
        const FString ClientSecret
    );
    

    Reflection-enabled

    Specifiers:

    • BlueprintCallable
    • Category = NBPatreonAPIClient

    Meta Specifiers:

    • DisplayName = Refresh API Token
    • Keywords = NBPatreonAPIClient
    • WorldContext = WorldContext
    • BlueprintInternalUseOnly = true

    Refreshes an API access token


    Arguments


    Returns

    • URefreshAPITokenAsyncAction*
      






For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com