UNPKG

@dbg-riskit/angular-auth

Version:

19 lines (18 loc) 635 B
import { Location } from '@angular/common'; export interface OpenIDQueryParams { error: string | null; errorDesc: string | null; code: string | null; id_token: string | null; access_token: string | null; } export declare class RequestUtils { static get locationHref(): string; static set locationHref(href: string); private static getURLPath; static getOrigin(): string; static getBaseURL(location: Location, relativeURL?: string): string; static getQueryParam(name: string): string | null; static getOpenIDQueryParams(): OpenIDQueryParams; static hasOpenIDQueryParams(): boolean; }