Skip to main content
Module

x/oauth2_client/mod.ts>OAuth2Client

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

Constructors

new
OAuth2Client(config: Readonly<OAuth2ClientConfig>)

Properties

clientCredentials: ClientCredentialsGrant

Implements the Resource Owner Password Credentials Grant.

See RFC6749, section 4.4.

Implements the Authorization Code Grant.

See RFC6749, section 4.1.

implicit: ImplicitGrant

Implements the Implicit Grant.

See RFC6749, section 4.2.

refreshToken: RefreshTokenGrant

Implements the Refresh Token Grant.

See RFC6749, section 6.

Implements the Resource Owner Password Credentials Grant.

See RFC6749, section 4.3.