valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
23 lines • 833 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.authCookiesEndpoint = void 0;
const zod_1 = require("zod");
exports.authCookiesEndpoint = {
name: 'Auth Cookies',
description: 'Prepare cookies for auth request',
category: 'Authentication Endpoints',
type: 'other',
suffix: 'https://auth.riotgames.com/api/v1/authorization',
method: 'POST',
headers: new Map([
['Content-Type', 'application/json'],
]),
body: zod_1.z.object({
client_id: zod_1.z.literal("play-valorant-web-prod"),
nonce: zod_1.z.literal("1"),
redirect_uri: zod_1.z.literal("https://playvalorant.com/opt_in"),
response_type: zod_1.z.literal("token id_token"),
scope: zod_1.z.literal("account openid")
})
};
//# sourceMappingURL=AuthCookies.js.map