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

x/oauth4webapi/mod.ts>deviceAuthorizationRequest

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

Performs a Device Authorization Request at the AuthorizationServer.device_authorization_endpoint | as.device_authorization_endpoint.

Parameters

Authorization Server Metadata.

client: Client

Client Metadata.

parameters: URLSearchParams

Device Authorization Request parameters.