Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/minecraft_lib/auth/mod.ts>OAuthClient#parseAuthorizationResponse

A collection of modules that can be used to build Minecraft servers, clients, utilities and other tools.
Latest
method OAuthClient.prototype.parseAuthorizationResponse
Re-export
import { OAuthClient } from "https://deno.land/x/minecraft_lib@0.1.0/auth/mod.ts";

Parses and validates the authorization response URI, and returns the authorization code.

Returns null, if the URI doesn't match the specified redirect URI.

Parameters

uri: string