Navigation
API > API/Plugins > API/Plugins/JWT > API/Plugins/JWT/FJsonWebToken
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< FJsonValue > GetClaim
(
const FStringView InName |
Gets a claim by name. | JsonWebToken.h | |
bool GetClaim
(
const FStringView InName, |
Gets a claim by name. | JsonWebToken.h |
GetClaim(const FStringView)
Description
Gets a claim by name. This method can be used to get custom claims that are not reserved as part of the JWT specification.
| Name | GetClaim |
| Type | function |
| Header File | /Engine/Plugins/Experimental/JWT/Source/JWT/Public/JsonWebToken.h |
| Include Path | #include "JsonWebToken.h" |
template<EJson JsonType>
TSharedPtr < FJsonValue > GetClaim
(
const FStringView InName
) const
The json value to output on success, or an invalid shared pointer on failure.
Parameters
| Name | Remarks |
|---|---|
| InName | The name of the claim. |
GetClaim(const FStringView, TSharedPtr< FJsonValue > &)
Description
Gets a claim by name. This method can be used to get custom claims that are not reserved as part of the JWT specification.
| Name | GetClaim |
| Type | function |
| Header File | /Engine/Plugins/Experimental/JWT/Source/JWT/Public/JsonWebToken.h |
| Include Path | #include "JsonWebToken.h" |
| Source | /Engine/Plugins/Experimental/JWT/Source/JWT/Private/JsonWebToken.cpp |
bool GetClaim
(
const FStringView InName,
TSharedPtr < FJsonValue > & OutClaim
) const
Whether the claim exists and was successfully outputted.
Parameters
| Name | Remarks |
|---|---|
| InName | The name of the claim. |
| OutClaim | The json value to output on success. |