Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oauth4webapi/mod.ts>deviceCodeGrantRequest

OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes
Go to Latest
function deviceCodeGrantRequest
import { deviceCodeGrantRequest } from "https://deno.land/x/oauth4webapi@v2.1.0/mod.ts";

Performs a Device Authorization Grant request at the AuthorizationServer.token_endpoint | as.token_endpoint.

Parameters

Authorization Server Metadata.

client: Client

Client Metadata.

deviceCode: string

Device Code.