import { ImplicitGrant } from "https://deno.land/x/oauth2_client@v1.0.0/mod.ts";
Constructors
new
ImplicitGrant(client: OAuth2Client)Methods
getAuthorizationUri(options?: ImplicitUriOptions): URL
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.