ImplicitGrant
import { ImplicitGrant } from "https://raw.githubusercontent.com/cmd-johnson/deno-oauth2-client/master/mod.ts";
class ImplicitGrant extends OAuth2GrantBase {}
constructor(client: OAuth2Client);
public async getToken(authResponseUri: string | URL, options?: ImplicitTokenOptions): Promise<Tokens>;
§Constructors
§
new ImplicitGrant(client: OAuth2Client)
[src]§Methods
§
getAuthorizationUri(options?: ImplicitUriOptions): URL
[src]Builds a URI you can redirect a user to to make the authorization request.
§
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.
@param authResponseUri
The complete URI the user got redirected to by the authorization server after making the authorization request. Must include the fragment (sometimes also called "hash") of the URL.