angular-auth-oidc-client
Advanced tools
Comparing version 15.0.0 to 15.0.1
@@ -29,3 +29,3 @@ import { Observable } from 'rxjs'; | ||
isSilentRenewConfigured(configuration: OpenIdConfiguration): boolean; | ||
codeFlowCallbackSilentRenewIframe(urlParts: any, config: OpenIdConfiguration, allConfigs: OpenIdConfiguration[]): Observable<CallbackContext>; | ||
codeFlowCallbackSilentRenewIframe(urlParts: string[], config: OpenIdConfiguration, allConfigs: OpenIdConfiguration[]): Observable<CallbackContext>; | ||
silentRenewEventHandler(e: CustomEvent, config: OpenIdConfiguration, allConfigs: OpenIdConfiguration[]): void; | ||
@@ -32,0 +32,0 @@ private getExistingIframe; |
@@ -9,2 +9,3 @@ import { Observable } from 'rxjs'; | ||
import { PopupOptions } from './popup/popup-options'; | ||
import { PopUpService } from './popup/popup.service'; | ||
import { StandardLoginService } from './standard/standard-login.service'; | ||
@@ -17,3 +18,4 @@ import * as i0 from "@angular/core"; | ||
private readonly storagePersistenceService; | ||
constructor(parLoginService: ParLoginService, popUpLoginService: PopUpLoginService, standardLoginService: StandardLoginService, storagePersistenceService: StoragePersistenceService); | ||
private readonly popupService; | ||
constructor(parLoginService: ParLoginService, popUpLoginService: PopUpLoginService, standardLoginService: StandardLoginService, storagePersistenceService: StoragePersistenceService, popupService: PopUpService); | ||
login(configuration: OpenIdConfiguration, authOptions?: AuthOptions): void; | ||
@@ -20,0 +22,0 @@ loginWithPopUp(configuration: OpenIdConfiguration, allConfigs: OpenIdConfiguration[], authOptions?: AuthOptions, popupOptions?: PopupOptions): Observable<LoginResponse>; |
import { Observable } from 'rxjs'; | ||
import { OpenIdConfiguration } from '../../config/openid-configuration'; | ||
import { LoggerService } from '../../logging/logger.service'; | ||
import { StoragePersistenceService } from '../../storage/storage-persistence.service'; | ||
import { PopupOptions } from './popup-options'; | ||
@@ -7,2 +10,4 @@ import { PopupResult } from './popup-result'; | ||
private readonly document; | ||
private readonly loggerService; | ||
private readonly storagePersistenceService; | ||
private readonly STORAGE_IDENTIFIER; | ||
@@ -14,5 +19,6 @@ private popUp; | ||
private get windowInternal(); | ||
constructor(document: Document); | ||
isCurrentlyInPopup(): boolean; | ||
openPopUp(url: string, popupOptions?: PopupOptions): void; | ||
constructor(document: Document, loggerService: LoggerService, storagePersistenceService: StoragePersistenceService); | ||
currentWindowIsPopUp(): boolean; | ||
isCurrentlyInPopup(config: OpenIdConfiguration): boolean; | ||
openPopUp(url: string, popupOptions: PopupOptions, config: OpenIdConfiguration): void; | ||
sendMessageToMainWindow(url: string): void; | ||
@@ -22,2 +28,3 @@ private cleanUp; | ||
private getOptions; | ||
private mainWindowHasPopupOpen; | ||
private canAccessSessionStorage; | ||
@@ -24,0 +31,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<PopUpService, never>; |
@@ -15,3 +15,4 @@ export declare enum EventTypes { | ||
IdTokenExpired = 9, | ||
SilentRenewStarted = 10 | ||
SilentRenewStarted = 10, | ||
SilentRenewFailed = 11 | ||
} |
import { OpenIdConfiguration } from './../config/openid-configuration'; | ||
import { BrowserStorageService } from './browser-storage.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare type StorageKeys = 'authnResult' | 'authzData' | 'access_token_expires_at' | 'authWellKnownEndPoints' | 'userData' | 'authNonce' | 'codeVerifier' | 'authStateControl' | 'reusable_refresh_token' | 'session_state' | 'storageSilentRenewRunning' | 'storageCodeFlowInProgress' | 'storageCustomParamsAuthRequest' | 'storageCustomParamsRefresh' | 'storageCustomParamsEndSession' | 'redirect' | 'configIds' | 'jwtKeys'; | ||
export declare type StorageKeys = 'authnResult' | 'authzData' | 'access_token_expires_at' | 'authWellKnownEndPoints' | 'userData' | 'authNonce' | 'codeVerifier' | 'authStateControl' | 'reusable_refresh_token' | 'session_state' | 'storageSilentRenewRunning' | 'storageCodeFlowInProgress' | 'storageCustomParamsAuthRequest' | 'storageCustomParamsRefresh' | 'storageCustomParamsEndSession' | 'redirect' | 'configIds' | 'jwtKeys' | 'popupauth'; | ||
export declare class StoragePersistenceService { | ||
@@ -6,0 +6,0 @@ private readonly browserStorageService; |
import * as i0 from "@angular/core"; | ||
export declare class CryptoService { | ||
private readonly doc; | ||
constructor(doc: any); | ||
constructor(doc: Document); | ||
getCrypto(): any; | ||
@@ -6,0 +6,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<CryptoService, never>; |
@@ -5,4 +5,3 @@ import * as i0 from "@angular/core"; | ||
constructor(doc: any); | ||
getStateParamFromCurrentUrl(): string; | ||
currentUrlHasStateParam(): boolean; | ||
getStateParamFromCurrentUrl(url?: string): string; | ||
getCurrentUrl(): string; | ||
@@ -9,0 +8,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<CurrentUrlService, never>; |
@@ -17,3 +17,3 @@ import { Observable } from 'rxjs'; | ||
constructor(loggerService: LoggerService, flowsDataService: FlowsDataService, flowHelper: FlowHelper, storagePersistenceService: StoragePersistenceService, jwtWindowCryptoService: JwtWindowCryptoService); | ||
getUrlParameter(urlToCheck: any, name: any): string; | ||
getUrlParameter(urlToCheck: string, name: string): string; | ||
isCallbackFromSts(currentUrl: string): boolean; | ||
@@ -20,0 +20,0 @@ getRefreshSessionSilentRenewUrl(config: OpenIdConfiguration, customParams?: { |
@@ -39,3 +39,3 @@ { | ||
"license": "MIT", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"description": "Angular Lib for OpenID Connect & OAuth2", | ||
@@ -42,0 +42,0 @@ "schematics": "./schematics/collection.json", |
@@ -8,3 +8,3 @@ "use strict"; | ||
name: 'angular-auth-oidc-client', | ||
version: '15.0.0', | ||
version: '15.0.1', | ||
}, | ||
@@ -11,0 +11,0 @@ ]; |
{ | ||
"name": "schematics", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"description": "A schematic for the Angular Lib for OpenID Connect & OAuth2", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2770036
19121