@rxap/oauth 14.0.4 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/container/container.component.mjs +4 -4
- package/esm2020/lib/container/container.component.module.mjs +4 -4
- package/esm2020/lib/get-o-auth-profile.method.mjs +3 -3
- package/esm2020/lib/loading/loading.component.mjs +4 -4
- package/esm2020/lib/loading/loading.component.module.mjs +6 -6
- package/esm2020/lib/o-auth-extract.guard.mjs +3 -3
- package/esm2020/lib/o-auth-redirect.guard.mjs +3 -3
- package/esm2020/lib/o-auth-routing.module.mjs +4 -4
- package/esm2020/lib/o-auth.method.mjs +3 -3
- package/esm2020/lib/o-auth.module.mjs +4 -4
- package/esm2020/lib/o-auth.service.mjs +3 -3
- package/esm2020/lib/profile.resolve.mjs +3 -3
- package/esm2020/lib/sign-in-with-redirect/sign-in-with-redirect.component.mjs +5 -5
- package/esm2020/lib/sign-in-with-redirect/sign-in-with-redirect.component.module.mjs +7 -7
- package/esm2020/single-sign-on/lib/continue/continue.component.mjs +5 -5
- package/esm2020/single-sign-on/lib/continue/continue.component.module.mjs +6 -6
- package/esm2020/single-sign-on/lib/error/error.component.mjs +5 -5
- package/esm2020/single-sign-on/lib/error/error.component.module.mjs +6 -6
- package/esm2020/single-sign-on/lib/o-auth-single-sign-on-routing.module.mjs +4 -4
- package/esm2020/single-sign-on/lib/o-auth-single-sign-on.guard.mjs +3 -3
- package/esm2020/single-sign-on/lib/o-auth-single-sign-on.service.mjs +3 -3
- package/fesm2015/rxap-oauth-single-sign-on.mjs +33 -32
- package/fesm2015/rxap-oauth-single-sign-on.mjs.map +1 -1
- package/fesm2015/rxap-oauth.mjs +58 -57
- package/fesm2015/rxap-oauth.mjs.map +1 -1
- package/fesm2020/rxap-oauth-single-sign-on.mjs +33 -32
- package/fesm2020/rxap-oauth-single-sign-on.mjs.map +1 -1
- package/fesm2020/rxap-oauth.mjs +58 -57
- package/fesm2020/rxap-oauth.mjs.map +1 -1
- package/lib/container/container.component.d.ts +1 -1
- package/lib/loading/loading.component.d.ts +1 -1
- package/lib/loading/loading.component.module.d.ts +2 -2
- package/lib/sign-in-with-redirect/sign-in-with-redirect.component.d.ts +1 -1
- package/lib/sign-in-with-redirect/sign-in-with-redirect.component.module.d.ts +3 -3
- package/package.json +20 -20
- package/single-sign-on/lib/continue/continue.component.d.ts +1 -1
- package/single-sign-on/lib/continue/continue.component.module.d.ts +2 -2
- package/single-sign-on/lib/error/error.component.d.ts +1 -1
- package/single-sign-on/lib/error/error.component.module.d.ts +2 -2
package/fesm2020/rxap-oauth.mjs
CHANGED
|
@@ -7,15 +7,15 @@ import { Router, RouterModule } from '@angular/router';
|
|
|
7
7
|
import { ReplaySubject } from 'rxjs';
|
|
8
8
|
import { AuthenticationEventType } from '@rxap/authentication';
|
|
9
9
|
import { trigger, transition, style, animate, state } from '@angular/animations';
|
|
10
|
-
import * as i1$2 from '@angular/material/progress-bar';
|
|
11
|
-
import {
|
|
12
|
-
import * as i2 from '@angular/material/button';
|
|
13
|
-
import {
|
|
10
|
+
import * as i1$2 from '@angular/material/legacy-progress-bar';
|
|
11
|
+
import { MatLegacyProgressBarModule } from '@angular/material/legacy-progress-bar';
|
|
12
|
+
import * as i2 from '@angular/material/legacy-button';
|
|
13
|
+
import { MatLegacyButtonModule } from '@angular/material/legacy-button';
|
|
14
14
|
import * as i3 from '@angular/flex-layout/flex';
|
|
15
15
|
import * as i4 from '@angular/material/icon';
|
|
16
16
|
import { MatIconModule } from '@angular/material/icon';
|
|
17
17
|
import { CommonModule } from '@angular/common';
|
|
18
|
-
import {
|
|
18
|
+
import { MatLegacyCardModule } from '@angular/material/legacy-card';
|
|
19
19
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
20
20
|
|
|
21
21
|
const PROFILE_AUTH_ENDPOINT = new InjectionToken('PROFILE_AUTH_ENDPOINT');
|
|
@@ -39,9 +39,9 @@ class GetOAuthProfileMethod {
|
|
|
39
39
|
.toPromise();
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
GetOAuthProfileMethod.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
43
|
-
GetOAuthProfileMethod.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
GetOAuthProfileMethod.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: GetOAuthProfileMethod, deps: [{ token: HttpClient }, { token: PROFILE_AUTH_ENDPOINT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
43
|
+
GetOAuthProfileMethod.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: GetOAuthProfileMethod, providedIn: 'root' });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: GetOAuthProfileMethod, decorators: [{
|
|
45
45
|
type: Injectable,
|
|
46
46
|
args: [{ providedIn: 'root' }]
|
|
47
47
|
}], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
|
|
@@ -156,9 +156,9 @@ class OAuthMethod {
|
|
|
156
156
|
throw new Error('Could not guess the grant type');
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
OAuthMethod.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
160
|
-
OAuthMethod.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
159
|
+
OAuthMethod.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthMethod, deps: [{ token: HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
160
|
+
OAuthMethod.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthMethod, providedIn: 'root' });
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthMethod, decorators: [{
|
|
162
162
|
type: Injectable,
|
|
163
163
|
args: [{ providedIn: 'root' }]
|
|
164
164
|
}], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
|
|
@@ -440,9 +440,9 @@ class OAuthService {
|
|
|
440
440
|
return response;
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
OAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
444
|
-
OAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
443
|
+
OAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthService, deps: [{ token: OAuthMethod }, { token: GetOAuthProfileMethod }, { token: Router }, { token: PROFILE_AUTH_ENDPOINT, optional: true }, { token: OAUTH_AUTH_ENDPOINT, optional: true }, { token: OAUTH_SECRET, optional: true }, { token: OAUTH_SSO_URL, optional: true }, { token: RXAP_O_AUTH_REDIRECT_SIGN_OUT, optional: true }, { token: RXAP_O_AUTH_REDIRECT_URL, optional: true }, { token: OAUTH_CLIENT_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
444
|
+
OAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthService, providedIn: 'root' });
|
|
445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthService, decorators: [{
|
|
446
446
|
type: Injectable,
|
|
447
447
|
args: [{ providedIn: 'root' }]
|
|
448
448
|
}], ctorParameters: function () { return [{ type: OAuthMethod, decorators: [{
|
|
@@ -533,9 +533,9 @@ class OAuthExtractGuard {
|
|
|
533
533
|
return this.router.createUrlTree([...route.url.map(url => url.path), 'redirect']);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
OAuthExtractGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
537
|
-
OAuthExtractGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
536
|
+
OAuthExtractGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthExtractGuard, deps: [{ token: i1$1.Router }, { token: OAuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
537
|
+
OAuthExtractGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthExtractGuard, providedIn: 'root' });
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthExtractGuard, decorators: [{
|
|
539
539
|
type: Injectable,
|
|
540
540
|
args: [{ providedIn: 'root' }]
|
|
541
541
|
}], ctorParameters: function () { return [{ type: i1$1.Router }, { type: OAuthService }]; } });
|
|
@@ -557,9 +557,9 @@ class OAuthRedirectGuard {
|
|
|
557
557
|
return this.canActivate(childRoute, state);
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
OAuthRedirectGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
561
|
-
OAuthRedirectGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
560
|
+
OAuthRedirectGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthRedirectGuard, deps: [{ token: OAuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
561
|
+
OAuthRedirectGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthRedirectGuard, providedIn: 'root' });
|
|
562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthRedirectGuard, decorators: [{
|
|
563
563
|
type: Injectable,
|
|
564
564
|
args: [{ providedIn: 'root' }]
|
|
565
565
|
}], ctorParameters: function () { return [{ type: OAuthService, decorators: [{
|
|
@@ -584,10 +584,10 @@ class OAuthModule {
|
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
OAuthModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
588
|
-
OAuthModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
589
|
-
OAuthModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
587
|
+
OAuthModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
588
|
+
OAuthModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: OAuthModule });
|
|
589
|
+
OAuthModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthModule });
|
|
590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthModule, decorators: [{
|
|
591
591
|
type: NgModule
|
|
592
592
|
}] });
|
|
593
593
|
|
|
@@ -596,8 +596,8 @@ class ContainerComponent {
|
|
|
596
596
|
return outlet.isActivated ? outlet.activatedRoute : 'true';
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
ContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
600
|
-
ContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
599
|
+
ContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
600
|
+
ContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: ContainerComponent, selector: "rxap-container", host: { classAttribute: "rxap-container" }, ngImport: i0, template: "<div [@routeAnimations]=\"prepareRoute(outlet)\" class=\"container\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n\n</div>\n", styles: [".container{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center}.container .split{position:absolute;top:0;left:0;right:0;bottom:65vh;z-index:-10}\n"], dependencies: [{ kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], animations: [
|
|
601
601
|
trigger('routeAnimations', [
|
|
602
602
|
transition(':enter', [
|
|
603
603
|
style({ opacity: 0 }),
|
|
@@ -609,7 +609,7 @@ ContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
609
609
|
])
|
|
610
610
|
])
|
|
611
611
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
612
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContainerComponent, decorators: [{
|
|
613
613
|
type: Component,
|
|
614
614
|
args: [{ selector: 'rxap-container', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-container' }, animations: [
|
|
615
615
|
trigger('routeAnimations', [
|
|
@@ -627,9 +627,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
627
627
|
|
|
628
628
|
class LoadingComponent {
|
|
629
629
|
}
|
|
630
|
-
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
631
|
-
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
630
|
+
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
631
|
+
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: LoadingComponent, selector: "rxap-loading", host: { classAttribute: "rxap-loading" }, ngImport: i0, template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n", styles: [""], dependencies: [{ kind: "component", type: i1$2.MatLegacyProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
633
633
|
type: Component,
|
|
634
634
|
args: [{ selector: 'rxap-loading', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-loading' }, template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n" }]
|
|
635
635
|
}] });
|
|
@@ -642,8 +642,8 @@ class SignInWithRedirectComponent {
|
|
|
642
642
|
this.authService.signInWithRedirect();
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
|
-
SignInWithRedirectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
646
|
-
SignInWithRedirectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
645
|
+
SignInWithRedirectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SignInWithRedirectComponent, deps: [{ token: OAuthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
646
|
+
SignInWithRedirectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: SignInWithRedirectComponent, selector: "rxap-sign-in-with-redirect", host: { classAttribute: "rxap-sign-in-with-redirect" }, ngImport: i0, template: "<div [@fadeAnimation]=\"'in'\" class=\"inner mat-elevation-z5\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxLayoutGap=\"32px\">\n\n <div class=\"header\" fxFlex=\"nogrow\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n\n <mat-icon class=\"avatar-icon\" color=\"primary\" fxFlex=\"nogrow\">account_circle</mat-icon>\n\n </div>\n\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n\n <div fxFlex=\"nogrow\">\n <button (click)=\"signIn()\" color=\"primary\" fxFlex=\"nogrow\" mat-raised-button>\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"16px\">\n <mat-icon fxFlex=\"nogrow\">login</mat-icon>\n <span fxFlex=\"nogrow\">Sign In</span>\n </span>\n </button>\n </div>\n\n </div>\n\n</div>\n\n", styles: [".inner{padding:64px;position:relative}.inner .header .avatar-icon{width:100px;height:100px;font-size:100px}\n"], dependencies: [{ kind: "component", type: i2.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], animations: [
|
|
647
647
|
trigger('fadeAnimation', [
|
|
648
648
|
// the "in" style determines the "resting" state of the element when it is visible.
|
|
649
649
|
state('in', style({ opacity: 1 })),
|
|
@@ -656,7 +656,7 @@ SignInWithRedirectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
656
656
|
transition(':leave', animate(300, style({ opacity: 0 })))
|
|
657
657
|
])
|
|
658
658
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SignInWithRedirectComponent, decorators: [{
|
|
660
660
|
type: Component,
|
|
661
661
|
args: [{ selector: 'rxap-sign-in-with-redirect', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-sign-in-with-redirect' }, animations: [
|
|
662
662
|
trigger('fadeAnimation', [
|
|
@@ -709,9 +709,9 @@ class ProfileResolve {
|
|
|
709
709
|
return profile;
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
|
-
ProfileResolve.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
713
|
-
ProfileResolve.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
712
|
+
ProfileResolve.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ProfileResolve, deps: [{ token: OAuthService }, { token: Router }, { token: RXAP_O_AUTH_REDIRECT_SIGN_IN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
713
|
+
ProfileResolve.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ProfileResolve, providedIn: 'root' });
|
|
714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ProfileResolve, decorators: [{
|
|
715
715
|
type: Injectable,
|
|
716
716
|
args: [{ providedIn: 'root' }]
|
|
717
717
|
}], ctorParameters: function () { return [{ type: OAuthService, decorators: [{
|
|
@@ -727,10 +727,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
727
727
|
|
|
728
728
|
class ContainerComponentModule {
|
|
729
729
|
}
|
|
730
|
-
ContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
731
|
-
ContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
732
|
-
ContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
730
|
+
ContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
731
|
+
ContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ContainerComponentModule, declarations: [ContainerComponent], imports: [RouterModule], exports: [ContainerComponent] });
|
|
732
|
+
ContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContainerComponentModule, imports: [RouterModule] });
|
|
733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContainerComponentModule, decorators: [{
|
|
734
734
|
type: NgModule,
|
|
735
735
|
args: [{
|
|
736
736
|
declarations: [ContainerComponent],
|
|
@@ -743,17 +743,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
743
743
|
|
|
744
744
|
class LoadingComponentModule {
|
|
745
745
|
}
|
|
746
|
-
LoadingComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
747
|
-
LoadingComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
748
|
-
LoadingComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
746
|
+
LoadingComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LoadingComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
747
|
+
LoadingComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: LoadingComponentModule, declarations: [LoadingComponent], imports: [MatLegacyProgressBarModule], exports: [LoadingComponent] });
|
|
748
|
+
LoadingComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LoadingComponentModule, imports: [MatLegacyProgressBarModule] });
|
|
749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LoadingComponentModule, decorators: [{
|
|
750
750
|
type: NgModule,
|
|
751
751
|
args: [{
|
|
752
752
|
declarations: [
|
|
753
753
|
LoadingComponent
|
|
754
754
|
],
|
|
755
755
|
imports: [
|
|
756
|
-
|
|
756
|
+
MatLegacyProgressBarModule
|
|
757
757
|
],
|
|
758
758
|
exports: [
|
|
759
759
|
LoadingComponent
|
|
@@ -763,24 +763,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
763
763
|
|
|
764
764
|
class SignInWithRedirectComponentModule {
|
|
765
765
|
}
|
|
766
|
-
SignInWithRedirectComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
767
|
-
SignInWithRedirectComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
768
|
-
|
|
766
|
+
SignInWithRedirectComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SignInWithRedirectComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
767
|
+
SignInWithRedirectComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: SignInWithRedirectComponentModule, declarations: [SignInWithRedirectComponent], imports: [MatLegacyCardModule,
|
|
768
|
+
MatLegacyButtonModule,
|
|
769
769
|
FlexLayoutModule,
|
|
770
770
|
MatIconModule,
|
|
771
771
|
CommonModule], exports: [SignInWithRedirectComponent] });
|
|
772
|
-
SignInWithRedirectComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
773
|
-
|
|
772
|
+
SignInWithRedirectComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SignInWithRedirectComponentModule, imports: [MatLegacyCardModule,
|
|
773
|
+
MatLegacyButtonModule,
|
|
774
774
|
FlexLayoutModule,
|
|
775
775
|
MatIconModule,
|
|
776
776
|
CommonModule] });
|
|
777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SignInWithRedirectComponentModule, decorators: [{
|
|
778
778
|
type: NgModule,
|
|
779
779
|
args: [{
|
|
780
780
|
declarations: [SignInWithRedirectComponent],
|
|
781
781
|
imports: [
|
|
782
|
-
|
|
783
|
-
|
|
782
|
+
MatLegacyCardModule,
|
|
783
|
+
MatLegacyButtonModule,
|
|
784
784
|
FlexLayoutModule,
|
|
785
785
|
MatIconModule,
|
|
786
786
|
CommonModule
|
|
@@ -791,14 +791,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
791
791
|
|
|
792
792
|
class OAuthRoutingModule {
|
|
793
793
|
}
|
|
794
|
-
OAuthRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
795
|
-
OAuthRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
794
|
+
OAuthRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
795
|
+
OAuthRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: OAuthRoutingModule, exports: [ContainerComponentModule,
|
|
796
796
|
LoadingComponentModule,
|
|
797
797
|
SignInWithRedirectComponentModule] });
|
|
798
|
-
OAuthRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
798
|
+
OAuthRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthRoutingModule, imports: [ContainerComponentModule,
|
|
799
799
|
LoadingComponentModule,
|
|
800
800
|
SignInWithRedirectComponentModule] });
|
|
801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthRoutingModule, decorators: [{
|
|
802
802
|
type: NgModule,
|
|
803
803
|
args: [{
|
|
804
804
|
exports: [
|
|
@@ -815,3 +815,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
815
815
|
|
|
816
816
|
export { ACCESS_TOKEN_LOCAL_STORAGE_KEY, AssertOAuthMethodParameters, AssertOAuthMethodWithRefreshTokenParameters, AssertOAuthMethodWithUsernamePasswordParameters, ContainerComponent, ContainerComponentModule, DefaultRedirectSignInFactory, DefaultRedirectUrl, EXPIRES_AT_LOCAL_STORAGE_KEY, GetOAuthProfileMethod, IsOAuthMethodWithRefreshTokenParameters, IsOAuthMethodWithUsernamePasswordParameters, LoadingComponent, LoadingComponentModule, OAUTH_AUTH_ENDPOINT, OAUTH_CLIENT_ID, OAUTH_SECRET, OAUTH_SSO_URL, OAuthExtractGuard, OAuthMethod, OAuthModule, OAuthRedirectGuard, OAuthRoutingModule, OAuthService, PROFILE_AUTH_ENDPOINT, ProfileResolve, REFRESH_TOKEN_LOCAL_STORAGE_KEY, REMEMBER_LOCAL_STORAGE_KEY, RXAP_O_AUTH_REDIRECT_SIGN_IN, RXAP_O_AUTH_REDIRECT_SIGN_OUT, RXAP_O_AUTH_REDIRECT_URL, RXAP_O_AUTH_ROUTES, SignInWithRedirectComponent, SignInWithRedirectComponentModule };
|
|
817
817
|
//# sourceMappingURL=rxap-oauth.mjs.map
|
|
818
|
+
//# sourceMappingURL=rxap-oauth.mjs.map
|