Skip to content

@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

PropertyModifierTypeDescriptionDefined in
accessTokenreadonlystringMinecraft bearer (session.minecraft.accessToken).src/auth/profile-read.ts:18
signal?readonlyAbortSignal-src/auth/profile-read.ts:19

MIT License