Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
class ResourceOwnerPasswordCredentialsGrant
import { ResourceOwnerPasswordCredentialsGrant } from "https://deno.land/x/oauth2_client@v1.0.2/src/resource_owner_password_credentials.ts";

Implements the OAuth 2.0 resource owner password credentials grant.

See https://tools.ietf.org/html/rfc6749#section-4.3

Constructors

new
ResourceOwnerPasswordCredentialsGrant(client: OAuth2Client)

Methods

Uses the username and password to request an access and optional refresh token