Skip to main content
Module

x/oauth4webapi/mod.ts>deviceCodeGrantRequest

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
function deviceCodeGrantRequest
import { deviceCodeGrantRequest } from "https://deno.land/x/oauth4webapi@v2.8.1/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.