IDesktopPlatform::GetOidcAccessToken

Get a Access token for use by OIDC compliant Identity Providers

Unreal Engine C++ API Reference > Developer > DesktopPlatform > IDesktopPlatform

References

   
Module DesktopPlatform
Header /Engine/Source/Developer/DesktopPlatform/Public/IDesktopPlatform.h
Include #include "IDesktopPlatform.h"
bool GetOidcAccessToken
(
    const [FString](API\Runtime\Core\Containers\FString) & RootDir,
    const [FString](API\Runtime\Core\Containers\FString) & ProjectFileName,
    const [FString](API\Runtime\Core\Containers\FString) & ProviderIdentifier,
    bool bUnattended,
    [FFeedbackContext](API\Runtime\Core\Misc\FFeedbackContext) * Warn,
    [FString](API\Runtime\Core\Containers\FString) & OutToken,
    [FDateTime](API\Runtime\Core\Misc\FDateTime) & OutTokenExpiresAt,
    bool & bOutWasInteractiveLogin
)

Remarks

Get a Access token for use by OIDC compliant Identity Providers true if the task completed successfully.

Parameters

Name Description
RootDir Engine root directory for the project to use.
ProjectFileName Filename of the current project
ProviderIdentifier The identifier for the provider as configured in oidc-token.json
bUnattended True to indicate that no user interaction should be assumed
Warn Feedback context to use for progress updates
OutToken The allocated access token
OutTokenExpiresAt When the token expires
bOutWasInteractiveLogin True if the interactive login flow was used

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library