class ResourceOwnerPasswordCredentialsGrant
extends OAuth2GrantBase
import { ResourceOwnerPasswordCredentialsGrant } from "https://deno.land/x/oauth2_client@v0.3.0/src/resource_owner_password_credentials.ts";
Implements the OAuth 2.0 resource owner password credentials grant.
Constructors
new
ResourceOwnerPasswordCredentialsGrant(client: OAuth2Client)Methods
private
buildTokenRequest(options: GetROPCTokenOptions): RequestgetToken(options: GetROPCTokenOptions): Promise<Tokens>
Uses the username and password to request an access and optional refresh token