Skip to content

@loontail/minecraft-kit / MicrosoftRefreshToken

Type Alias: MicrosoftRefreshToken

ts
type MicrosoftRefreshToken = string & {
  __brand: "MicrosoftRefreshToken";
};

Defined in: src/types/auth.ts:29

Branded Microsoft refresh token. Construct via asMicrosoftRefreshToken (exported from the package root) — the brand prevents accidentally passing an access token, XSTS token, or another opaque string where a Microsoft refresh token is expected.

Type Declaration

NameTypeDefined in
__brand"MicrosoftRefreshToken"src/types/auth.ts:29

MIT License