Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oauth2_client/src/implicit_grant.ts>ImplicitGrant

Minimalistic OAuth 2.0 client for Deno.
Latest
class ImplicitGrant
import { ImplicitGrant } from "https://deno.land/x/oauth2_client@v1.0.2/src/implicit_grant.ts";

Constructors

new
ImplicitGrant(client: OAuth2Client)

Methods

Builds a URI you can redirect a user to to make the authorization request.

getToken(authResponseUri: string | URL, options?: ImplicitTokenOptions): Promise<Tokens>

Parses the authorization response request tokens from the authorization server.

Usually you'd want to call this method in the function that handles the user's request to your configured redirectUri.