Interface YggrasilAuthentication
The auth response format.
Please refer https://wiki.vg/Authentication
🏷️ Properties
accessToken
ts
accessToken: stringhexadecimal or JSON-Web-Token (unconfirmed) [The normal accessToken can be found in the payload of the JWT (second by '.' separated part as Base64 encoded JSON object), in key "yggt"]
Defined in: packages/user/yggdrasil.ts:13
availableProfiles
ts
availableProfiles: GameProfile[]only present if the agent field was received
Defined in: packages/user/yggdrasil.ts:21
clientToken
ts
clientToken: stringidentical to the one received
Defined in: packages/user/yggdrasil.ts:17
selectedProfile
ts
selectedProfile: GameProfileonly present if the agent field was received
Defined in: packages/user/yggdrasil.ts:25
user
ts
user: Objectonly present if requestUser was true in the request payload
Defined in: packages/user/yggdrasil.ts:29