Skip to main content
Go to Latest
interface ResourceOwnerPasswordCredentialsTokenOptions
import { type ResourceOwnerPasswordCredentialsTokenOptions } from "https://deno.land/x/oauth2_client@v1.0.0/mod.ts";

Properties

username: string

The resource owner username

password: string

The resource owner password

optional
scope: string | string[]

Scopes to request with the authorization request.

If an array is passed, it is concatinated using spaces as per https://tools.ietf.org/html/rfc6749#section-3.3

optional
requestOptions: RequestOptions