Skip to main content
Module

x/deno_kv_oauth/deps.ts>OAuth2Client

High-level OAuth 2.0 powered by Deno KV.
Latest
class OAuth2Client
import { OAuth2Client } from "https://deno.land/x/deno_kv_oauth@v0.10.0/deps.ts";

Constructors

new
OAuth2Client(config: Readonly<OAuth2ClientConfig>)

Properties

clientCredentials: ClientCredentialsGrant

Implements the Resource Owner Password Credentials Grant.

See RFC6749, section 4.4.

code: AuthorizationCodeGrant

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.

ropc: ResourceOwnerPasswordCredentialsGrant

Implements the Resource Owner Password Credentials Grant.

See RFC6749, section 4.3.