Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as denoOauth2Client from "https://raw.githubusercontent.com/cmd-johnson/deno-oauth2-client/master/mod.ts";

§Classes

AuthorizationCodeGrant

Implements the OAuth 2.0 authorization code grant.

AuthorizationResponseError

Error originating from the authorization response.

ClientCredentialsGrant

Implements the OAuth 2.0 Client Credentials grant.

ImplicitGrant
MissingClientSecretError

Thrown when trying to use a grant that requires the client secret to be set

OAuth2Client
OAuth2ResponseError

Generic error returned by an OAuth 2.0 authorization server.

RefreshTokenGrant

Implements the OAuth 2.0 refresh token grant.

ResourceOwnerPasswordCredentialsGrant

Implements the OAuth 2.0 resource owner password credentials grant.

TokenResponseError

Error originating from the token response.

§Interfaces

AuthorizationCodeTokenOptions
AuthorizationUriWithoutVerifier
AuthorizationUriWithVerifier
ClientCredentialsTokenOptions
ImplicitTokenOptions
ImplicitUriOptions
OAuth2ClientConfig
RefreshTokenOptions
RequestOptions
ResourceOwnerPasswordCredentialsTokenOptions
Tokens

Tokens and associated information received from a successful access token request.

§Type Aliases

AuthorizationUri
AuthorizationUriOptions