OAuth2ClientConfig
import type { OAuth2ClientConfig } from "https://raw.githubusercontent.com/cmd-johnson/deno-oauth2-client/master/mod.ts";
interface OAuth2ClientConfig {
authorizationEndpointUri: string;
clientId: string;
clientSecret?: string;
defaults?: {
requestOptions?: Omit<RequestOptions, "method">;
scope?: string | string[];
stateValidator?: (state: string | null) => Promise<boolean> | boolean;
};redirectUri?: string;
tokenUri: string;
}§Properties
§
clientSecret?: string
[src]The client secret provided by the authorization server, if using a confidential client.
§
defaults?: {
[src]requestOptions?: Omit<RequestOptions, "method">;
scope?: string | string[];
stateValidator?: (state: string | null) => Promise<boolean> | boolean;
}