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