文档

​
​

Development

User Acquisition

Monetization

工业

Authentication for Unreal Engine

Authentication for Unreal Engine

Multiplayer Services for Unreal
​
​
Authentication for Unreal
  • Overview
  • 开始使用
  • 身份验证生命周期
  • 玩家配置文件
  • 玩家偏好设置
  • 使用 C++ 集成
  • 使用蓝图集成
C++ API Reference
  • Authentication API
    • AuthenticationBlueprintApi
    • AuthenticationErrorCodes
    • AuthenticationStates
    • AuthenticationSubsystem
    • Authentication.Models
  • Services.Core API
  1. 适用于 Unreal Engine 的 Authentication SDK

枚举类 AuthenticationStates

Reference the possible states an authentication session can be in.
阅读时间1 分钟
最后更新于 8 个月前

Authentication 子系统的总体状态。
Include(包括)
#include "AuthenticationStates.h"
语法
UENUM(BlueprintType)enum class EAuthenticationStates : uint8{ SignedOut UMETA(DisplayName = "Signed Out"), SigningIn UMETA(DisplayName = "Signing In"), Authorized UMETA(DisplayName = "Authorized"), Refreshing UMETA(DisplayName = "Refreshing"), Expired UMETA(DisplayName = "Expired")}

值

显示名称

Name

值

描述

Signed Out(已注销)
Signed Out
0Authentication 子系统的默认状态。
Signing In(正在登录)
Signing In
1此状态表示 Authentication 子系统已获授权或已到期。
Authorized(已授权)
Authorized
2已成功授权但尚未到期的 Authentication 子系统状态。
Refreshing(正在刷新)
Refreshing
3会话正在刷新令牌的 Authentication 子系统状态。
Expired(已到期)
Expired
4会话到期的 Authentication 子系统状态。

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Include(包括)

    • 语法

    • 值


报告此页面的问题