Appearance
@loontail/minecraft-kit / ReadProfileInput
Type Alias: ReadProfileInput
ts
type ReadProfileInput = {
accessToken: string;
signal?: AbortSignal;
};Defined in: src/auth/profile-read.ts:16
Inputs to readProfile.
Example
ts
import type { ReadProfileInput } from "@loontail/minecraft-kit";
const input: ReadProfileInput = { accessToken: session.minecraft.accessToken };Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
accessToken | readonly | string | Minecraft bearer (session.minecraft.accessToken). | src/auth/profile-read.ts:18 |
signal? | readonly | AbortSignal | - | src/auth/profile-read.ts:19 |