Stream Chat Unreal SDK
Loading...
Searching...
No Matches
Token.h
1// Copyright 2022 Stream.IO, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6
7#include "Token.generated.h"
8
13UENUM(BlueprintType)
14enum class ETokenType : uint8
15{
17 Jwt,
20};
21
22USTRUCT(BlueprintType)
23struct TOKENPROVIDER_API FToken
24{
25 GENERATED_BODY()
26
27public:
28 static FToken Jwt(const FString& InJwtString);
29 static FToken Anonymous();
30
31 ETokenType TokenType = ETokenType::Anonymous;
32 FString JwtString;
33};
ETokenType
The type of token.
Definition: Token.h:15
@ Anonymous
Very restricted user type.
@ Jwt
JSON Web Token.
Utilities for JSON Web Token manipulation.
Definition: Jwt.h:11