Oslo

OAuth2Client

Helper for OAuth 2.0, as defined in RFC 6749. See oslo/oauth2 for a full example.

Constructor

function constructor(
	clientId: string,
	authorizeEndpoint: string,
	tokenEndpoint: string,
	options?: {
		redirectURI?: string;
	}
): this;

Parameters

  • clientId
  • authorizeEndpoint
  • tokenEndpoint
  • options
    • redirectURI

Methods

Properties

interface Properties {
	clientId: string;
}
  • clientId