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

OAuth2ResponseError

import { OAuth2ResponseError } from "https://raw.githubusercontent.com/cmd-johnson/deno-oauth2-client/master/mod.ts";

Generic error returned by an OAuth 2.0 authorization server.

class OAuth2ResponseError extends Error {
constructor(response: ErrorResponseParams);
public readonly error: string;
public readonly errorDescription?: string;
public readonly errorUri?: string;
public readonly state?: string;
 
static public fromURLSearchParams(params: URLSearchParams);
}

§Extends

§
Error
[src]

§Constructors

§
new OAuth2ResponseError(response: ErrorResponseParams)
[src]

§Properties

§
error: string
[src]
§
errorDescription: string
[src]
§
errorUri: string
[src]
§
state: string
[src]

§Static Methods

§
fromURLSearchParams(params: URLSearchParams)
[src]