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

OAuth2Client

import { OAuth2Client } from "https://raw.githubusercontent.com/cmd-johnson/deno-oauth2-client/master/mod.ts";
class OAuth2Client {
constructor(config: Readonly<OAuth2ClientConfig>);
public clientCredentials: ClientCredentialsGrant;
public implicit: ImplicitGrant;
public refreshToken: RefreshTokenGrant;
}

§Constructors

§
new OAuth2Client(config: Readonly<OAuth2ClientConfig>)
[src]

§Properties

§
clientCredentials: ClientCredentialsGrant
[src]

Implements the Resource Owner Password Credentials Grant.

See RFC6749, section 4.4.

§

Implements the Authorization Code Grant.

See RFC6749, section 4.1.

§

Implements the Implicit Grant.

See RFC6749, section 4.2.

§

Implements the Refresh Token Grant.

See RFC6749, section 6.

§

Implements the Resource Owner Password Credentials Grant.

See RFC6749, section 4.3.