@loopback/example-passport-login 5.0.0 → 5.1.1
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/CHANGELOG.md +19 -0
- package/dist/application.d.ts +59 -59
- package/dist/authentication-interceptors/facebook.interceptor.js +2 -3
- package/dist/authentication-interceptors/facebook.interceptor.js.map +1 -1
- package/dist/authentication-interceptors/google.interceptor.js +2 -3
- package/dist/authentication-interceptors/google.interceptor.js.map +1 -1
- package/dist/authentication-interceptors/oauth2.interceptor.js +2 -3
- package/dist/authentication-interceptors/oauth2.interceptor.js.map +1 -1
- package/dist/authentication-interceptors/twitter.interceptor.js +2 -3
- package/dist/authentication-interceptors/twitter.interceptor.js.map +1 -1
- package/dist/authentication-strategies/basic.js +2 -3
- package/dist/authentication-strategies/basic.js.map +1 -1
- package/dist/authentication-strategies/facebook.js +2 -3
- package/dist/authentication-strategies/facebook.js.map +1 -1
- package/dist/authentication-strategies/google.js +2 -3
- package/dist/authentication-strategies/google.js.map +1 -1
- package/dist/authentication-strategies/local.js +2 -3
- package/dist/authentication-strategies/local.js.map +1 -1
- package/dist/authentication-strategies/oauth2.js +3 -9
- package/dist/authentication-strategies/oauth2.js.map +1 -1
- package/dist/authentication-strategies/session.js +2 -3
- package/dist/authentication-strategies/session.js.map +1 -1
- package/dist/authentication-strategies/twitter.js +2 -3
- package/dist/authentication-strategies/twitter.js.map +1 -1
- package/dist/authentication-strategies/types.js +1 -1
- package/dist/authentication-strategies/types.js.map +1 -1
- package/dist/authentication-strategy-providers/facebook.express-mw.js +2 -3
- package/dist/authentication-strategy-providers/facebook.express-mw.js.map +1 -1
- package/dist/authentication-strategy-providers/facebook.js +2 -3
- package/dist/authentication-strategy-providers/facebook.js.map +1 -1
- package/dist/authentication-strategy-providers/google.express-mw.js +2 -3
- package/dist/authentication-strategy-providers/google.express-mw.js.map +1 -1
- package/dist/authentication-strategy-providers/google.js +2 -3
- package/dist/authentication-strategy-providers/google.js.map +1 -1
- package/dist/authentication-strategy-providers/oauth2.express-mw.js +2 -3
- package/dist/authentication-strategy-providers/oauth2.express-mw.js.map +1 -1
- package/dist/authentication-strategy-providers/oauth2.js +2 -3
- package/dist/authentication-strategy-providers/oauth2.js.map +1 -1
- package/dist/authentication-strategy-providers/twitter.express-mw.js +2 -3
- package/dist/authentication-strategy-providers/twitter.express-mw.js.map +1 -1
- package/dist/authentication-strategy-providers/twitter.js +2 -3
- package/dist/authentication-strategy-providers/twitter.js.map +1 -1
- package/dist/controllers/oauth2.controller.js +1 -1
- package/dist/controllers/oauth2.controller.js.map +1 -1
- package/dist/controllers/ping.controller.js +2 -3
- package/dist/controllers/ping.controller.js.map +1 -1
- package/dist/controllers/user.controller.js +2 -3
- package/dist/controllers/user.controller.js.map +1 -1
- package/dist/datasources/db.datasource.js +2 -3
- package/dist/datasources/db.datasource.js.map +1 -1
- package/dist/models/user-credentials.model.js +2 -3
- package/dist/models/user-credentials.model.js.map +1 -1
- package/dist/models/user-identity.model.js +2 -3
- package/dist/models/user-identity.model.js.map +1 -1
- package/dist/models/user.model.js +2 -3
- package/dist/models/user.model.js.map +1 -1
- package/dist/observers/wire.observer.js +2 -3
- package/dist/observers/wire.observer.js.map +1 -1
- package/dist/repositories/user-credentials.repository.js +2 -3
- package/dist/repositories/user-credentials.repository.js.map +1 -1
- package/dist/repositories/user-identity.repository.js +2 -3
- package/dist/repositories/user-identity.repository.js.map +1 -1
- package/dist/repositories/user.repository.js +2 -3
- package/dist/repositories/user.repository.js.map +1 -1
- package/dist/sequence.js +2 -3
- package/dist/sequence.js.map +1 -1
- package/dist/services/keys.js +1 -1
- package/dist/services/keys.js.map +1 -1
- package/dist/services/user.service.js +2 -3
- package/dist/services/user.service.js.map +1 -1
- package/package.json +24 -24
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.1.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-passport-login@5.1.0...@loopback/example-passport-login@5.1.1) (2023-07-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @loopback/example-passport-login
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [5.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-passport-login@5.0.0...@loopback/example-passport-login@5.1.0) (2023-06-28)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* update dependency @types/node to ^16 ([2af42b7](https://github.com/loopbackio/loopback-next/commit/2af42b721c6dfc2df49bfcac1cbea478aba417ab))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [5.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-passport-login@4.0.10...@loopback/example-passport-login@5.0.0) (2023-05-15)
|
|
7
26
|
|
|
8
27
|
|
package/dist/application.d.ts
CHANGED
|
@@ -12,24 +12,24 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
12
12
|
mountComponentBooters(componentInstanceOrClass: import("@loopback/core").Constructor<unknown> | import("@loopback/boot").InstanceWithBooters): void;
|
|
13
13
|
readonly options: ApplicationConfig;
|
|
14
14
|
readonly state: string;
|
|
15
|
-
controller: <
|
|
16
|
-
server: <
|
|
17
|
-
servers: <
|
|
18
|
-
getServer: <
|
|
15
|
+
controller: <T>(controllerCtor: import("@loopback/core").ControllerClass<T>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => import("@loopback/boot").Binding<T>;
|
|
16
|
+
server: <T_1 extends import("@loopback/core").Server>(ctor: import("@loopback/core").Constructor<T_1>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => import("@loopback/boot").Binding<T_1>;
|
|
17
|
+
servers: <T_2 extends import("@loopback/core").Server>(ctors: import("@loopback/core").Constructor<T_2>[]) => import("@loopback/boot").Binding<any>[];
|
|
18
|
+
getServer: <T_3 extends import("@loopback/core").Server>(target: string | import("@loopback/core").Constructor<T_3>) => Promise<T_3>;
|
|
19
19
|
init: () => Promise<void>;
|
|
20
20
|
onInit: (fn: () => import("@loopback/core").ValueOrPromise<void>) => import("@loopback/boot").Binding<import("@loopback/core").LifeCycleObserver>;
|
|
21
21
|
onStart: (fn: () => import("@loopback/core").ValueOrPromise<void>) => import("@loopback/boot").Binding<import("@loopback/core").LifeCycleObserver>;
|
|
22
22
|
stop: () => Promise<void>;
|
|
23
23
|
onStop: (fn: () => import("@loopback/core").ValueOrPromise<void>) => import("@loopback/boot").Binding<import("@loopback/core").LifeCycleObserver>;
|
|
24
24
|
setMetadata: (metadata: import("@loopback/core").ApplicationMetadata) => void;
|
|
25
|
-
lifeCycleObserver: <
|
|
25
|
+
lifeCycleObserver: <T_4 extends import("@loopback/core").LifeCycleObserver>(ctor: import("@loopback/core").Constructor<T_4>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => import("@loopback/boot").Binding<T_4>;
|
|
26
26
|
service: <S>(cls: import("@loopback/core").ServiceOrProviderClass<S>, nameOrOptions?: string | import("@loopback/core").ServiceOptions | undefined) => import("@loopback/boot").Binding<S>;
|
|
27
27
|
interceptor: (interceptor: import("@loopback/core").Interceptor | import("@loopback/core").Constructor<import("@loopback/core").Provider<import("@loopback/core").Interceptor>>, nameOrOptions?: string | import("@loopback/core").InterceptorBindingOptions | undefined) => import("@loopback/boot").Binding<import("@loopback/core").Interceptor>;
|
|
28
28
|
readonly name: string;
|
|
29
29
|
readonly subscriptionManager: import("@loopback/core").ContextSubscriptionManager;
|
|
30
30
|
scope: import("@loopback/core").BindingScope;
|
|
31
31
|
readonly parent: import("@loopback/core").Context | undefined;
|
|
32
|
-
emitEvent: <
|
|
32
|
+
emitEvent: <T_5 extends import("@loopback/core").ContextEvent>(type: string, event: T_5) => void;
|
|
33
33
|
emitError: (err: unknown) => void;
|
|
34
34
|
bind: <ValueType = any>(key: import("@loopback/core").BindingAddress<ValueType>) => import("@loopback/boot").Binding<ValueType>;
|
|
35
35
|
add: (binding: import("@loopback/boot").Binding<unknown>) => import("@loopback/core").Application;
|
|
@@ -42,7 +42,7 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
42
42
|
unsubscribe: (observer: import("@loopback/core").ContextEventObserver) => boolean;
|
|
43
43
|
close: () => void;
|
|
44
44
|
isSubscribed: (observer: import("@loopback/core").ContextObserver) => boolean;
|
|
45
|
-
createView: <
|
|
45
|
+
createView: <T_6 = unknown>(filter: import("@loopback/core").BindingFilter, comparator?: import("@loopback/core").BindingComparator | undefined, options?: Omit<import("@loopback/core").ResolutionOptions, "session"> | undefined) => import("@loopback/core").ContextView<T_6>;
|
|
46
46
|
contains: (key: import("@loopback/core").BindingAddress<unknown>) => boolean;
|
|
47
47
|
isBound: (key: import("@loopback/core").BindingAddress<unknown>) => boolean;
|
|
48
48
|
getOwnerContext: (keyOrBinding: import("@loopback/core").BindingAddress<unknown> | Readonly<import("@loopback/boot").Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
@@ -65,7 +65,7 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
65
65
|
optional?: boolean | undefined;
|
|
66
66
|
} | undefined): import("@loopback/boot").Binding<ValueType_8> | undefined;
|
|
67
67
|
};
|
|
68
|
-
findOrCreateBinding: <
|
|
68
|
+
findOrCreateBinding: <T_7>(key: import("@loopback/core").BindingAddress<T_7>, policy?: import("@loopback/core").BindingCreationPolicy | undefined) => import("@loopback/boot").Binding<T_7>;
|
|
69
69
|
getValueOrPromise: <ValueType_9>(keyWithPath: import("@loopback/core").BindingAddress<ValueType_9>, optionsOrSession?: import("@loopback/core").ResolutionOptionsOrSession | undefined) => import("@loopback/core").ValueOrPromise<ValueType_9 | undefined>;
|
|
70
70
|
toJSON: () => import("@loopback/core").JSONObject;
|
|
71
71
|
inspect: (options?: import("@loopback/core").ContextInspectOptions | undefined) => import("@loopback/core").JSONObject;
|
|
@@ -77,18 +77,18 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
77
77
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
|
|
78
78
|
(event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
|
|
79
79
|
};
|
|
80
|
-
addListener: (
|
|
81
|
-
removeListener: (
|
|
82
|
-
off: (
|
|
80
|
+
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
81
|
+
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
82
|
+
off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
83
83
|
removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
|
|
84
84
|
setMaxListeners: (n: number) => import("@loopback/core").Application;
|
|
85
85
|
getMaxListeners: () => number;
|
|
86
|
-
listeners: (
|
|
87
|
-
rawListeners: (
|
|
88
|
-
emit: (
|
|
89
|
-
listenerCount: (
|
|
90
|
-
prependListener: (
|
|
91
|
-
prependOnceListener: (
|
|
86
|
+
listeners: (eventName: string | symbol) => Function[];
|
|
87
|
+
rawListeners: (eventName: string | symbol) => Function[];
|
|
88
|
+
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
89
|
+
listenerCount: (eventName: string | symbol) => number;
|
|
90
|
+
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
91
|
+
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
92
92
|
eventNames: () => (string | symbol)[];
|
|
93
93
|
}) & (new (...args: any[]) => {
|
|
94
94
|
serviceProvider<S_1>(provider: import("@loopback/core").Constructor<import("@loopback/core").Provider<S_1>>, nameOrOptions?: string | import("@loopback/core").ServiceOptions | undefined): import("@loopback/boot").Binding<S_1>;
|
|
@@ -96,10 +96,10 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
96
96
|
mountComponentServices<C_1 extends import("@loopback/core").Component = import("@loopback/core").Component>(component: import("@loopback/core").Constructor<C_1>, componentBindingKey?: import("@loopback/core").BindingAddress<C_1> | undefined): void;
|
|
97
97
|
readonly options: ApplicationConfig;
|
|
98
98
|
readonly state: string;
|
|
99
|
-
controller: <
|
|
100
|
-
server: <
|
|
101
|
-
servers: <
|
|
102
|
-
getServer: <
|
|
99
|
+
controller: <T_8>(controllerCtor: import("@loopback/core").ControllerClass<T_8>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => import("@loopback/boot").Binding<T_8>;
|
|
100
|
+
server: <T_1_1 extends import("@loopback/core").Server>(ctor: import("@loopback/core").Constructor<T_1_1>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => import("@loopback/boot").Binding<T_1_1>;
|
|
101
|
+
servers: <T_2_1 extends import("@loopback/core").Server>(ctors: import("@loopback/core").Constructor<T_2_1>[]) => import("@loopback/boot").Binding<any>[];
|
|
102
|
+
getServer: <T_3_1 extends import("@loopback/core").Server>(target: string | import("@loopback/core").Constructor<T_3_1>) => Promise<T_3_1>;
|
|
103
103
|
init: () => Promise<void>;
|
|
104
104
|
onInit: (fn: () => import("@loopback/core").ValueOrPromise<void>) => import("@loopback/boot").Binding<import("@loopback/core").LifeCycleObserver>;
|
|
105
105
|
start: () => Promise<void>;
|
|
@@ -107,30 +107,30 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
107
107
|
stop: () => Promise<void>;
|
|
108
108
|
onStop: (fn: () => import("@loopback/core").ValueOrPromise<void>) => import("@loopback/boot").Binding<import("@loopback/core").LifeCycleObserver>;
|
|
109
109
|
setMetadata: (metadata: import("@loopback/core").ApplicationMetadata) => void;
|
|
110
|
-
lifeCycleObserver: <
|
|
110
|
+
lifeCycleObserver: <T_4_1 extends import("@loopback/core").LifeCycleObserver>(ctor: import("@loopback/core").Constructor<T_4_1>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => import("@loopback/boot").Binding<T_4_1>;
|
|
111
111
|
service: <S_1>(cls: import("@loopback/core").ServiceOrProviderClass<S_1>, nameOrOptions?: string | import("@loopback/core").ServiceOptions | undefined) => import("@loopback/boot").Binding<S_1>;
|
|
112
112
|
interceptor: (interceptor: import("@loopback/core").Interceptor | import("@loopback/core").Constructor<import("@loopback/core").Provider<import("@loopback/core").Interceptor>>, nameOrOptions?: string | import("@loopback/core").InterceptorBindingOptions | undefined) => import("@loopback/boot").Binding<import("@loopback/core").Interceptor>;
|
|
113
113
|
readonly name: string;
|
|
114
114
|
readonly subscriptionManager: import("@loopback/core").ContextSubscriptionManager;
|
|
115
115
|
scope: import("@loopback/core").BindingScope;
|
|
116
116
|
readonly parent: import("@loopback/core").Context | undefined;
|
|
117
|
-
emitEvent: <
|
|
117
|
+
emitEvent: <T_5_1 extends import("@loopback/core").ContextEvent>(type: string, event: T_5_1) => void;
|
|
118
118
|
emitError: (err: unknown) => void;
|
|
119
119
|
bind: <ValueType_10 = any>(key: import("@loopback/core").BindingAddress<ValueType_10>) => import("@loopback/boot").Binding<ValueType_10>;
|
|
120
120
|
add: (binding: import("@loopback/boot").Binding<unknown>) => import("@loopback/core").Application;
|
|
121
|
-
configure: <ConfigValueType_4 = any>(key?: import("@loopback/core").BindingAddress
|
|
122
|
-
getConfigAsValueOrPromise: <ConfigValueType_1_1>(key: import("@loopback/core").BindingAddress
|
|
123
|
-
getConfig: <ConfigValueType_2_1>(key: import("@loopback/core").BindingAddress
|
|
124
|
-
getConfigSync: <ConfigValueType_3_1>(key: import("@loopback/core").BindingAddress
|
|
125
|
-
unbind: (key: import("@loopback/core").BindingAddress
|
|
121
|
+
configure: <ConfigValueType_4 = any>(key?: import("@loopback/core").BindingAddress | undefined) => import("@loopback/boot").Binding<ConfigValueType_4>;
|
|
122
|
+
getConfigAsValueOrPromise: <ConfigValueType_1_1>(key: import("@loopback/core").BindingAddress, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => import("@loopback/core").ValueOrPromise<ConfigValueType_1_1 | undefined>;
|
|
123
|
+
getConfig: <ConfigValueType_2_1>(key: import("@loopback/core").BindingAddress, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => Promise<ConfigValueType_2_1 | undefined>;
|
|
124
|
+
getConfigSync: <ConfigValueType_3_1>(key: import("@loopback/core").BindingAddress, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => ConfigValueType_3_1 | undefined;
|
|
125
|
+
unbind: (key: import("@loopback/core").BindingAddress) => boolean;
|
|
126
126
|
subscribe: (observer: import("@loopback/core").ContextEventObserver) => import("@loopback/core").Subscription;
|
|
127
127
|
unsubscribe: (observer: import("@loopback/core").ContextEventObserver) => boolean;
|
|
128
128
|
close: () => void;
|
|
129
129
|
isSubscribed: (observer: import("@loopback/core").ContextObserver) => boolean;
|
|
130
|
-
createView: <
|
|
131
|
-
contains: (key: import("@loopback/core").BindingAddress
|
|
132
|
-
isBound: (key: import("@loopback/core").BindingAddress
|
|
133
|
-
getOwnerContext: (keyOrBinding: import("@loopback/core").BindingAddress
|
|
130
|
+
createView: <T_6_1 = unknown>(filter: import("@loopback/core").BindingFilter, comparator?: import("@loopback/core").BindingComparator | undefined, options?: Omit<import("@loopback/core").ResolutionOptions, "session"> | undefined) => import("@loopback/core").ContextView<T_6_1>;
|
|
131
|
+
contains: (key: import("@loopback/core").BindingAddress) => boolean;
|
|
132
|
+
isBound: (key: import("@loopback/core").BindingAddress) => boolean;
|
|
133
|
+
getOwnerContext: (keyOrBinding: import("@loopback/core").BindingAddress | Readonly<import("@loopback/boot").Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
134
134
|
getScopedContext: (scope: import("@loopback/core").BindingScope.APPLICATION | import("@loopback/core").BindingScope.SERVER | import("@loopback/core").BindingScope.REQUEST) => import("@loopback/core").Context | undefined;
|
|
135
135
|
getResolutionContext: (binding: Readonly<import("@loopback/boot").Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
136
136
|
isVisibleTo: (ctx: import("@loopback/core").Context) => boolean;
|
|
@@ -150,7 +150,7 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
150
150
|
optional?: boolean | undefined;
|
|
151
151
|
} | undefined): import("@loopback/boot").Binding<ValueType_8_1> | undefined;
|
|
152
152
|
};
|
|
153
|
-
findOrCreateBinding: <
|
|
153
|
+
findOrCreateBinding: <T_7_1>(key: import("@loopback/core").BindingAddress<T_7_1>, policy?: import("@loopback/core").BindingCreationPolicy | undefined) => import("@loopback/boot").Binding<T_7_1>;
|
|
154
154
|
getValueOrPromise: <ValueType_9_1>(keyWithPath: import("@loopback/core").BindingAddress<ValueType_9_1>, optionsOrSession?: import("@loopback/core").ResolutionOptionsOrSession | undefined) => import("@loopback/core").ValueOrPromise<ValueType_9_1 | undefined>;
|
|
155
155
|
toJSON: () => import("@loopback/core").JSONObject;
|
|
156
156
|
inspect: (options?: import("@loopback/core").ContextInspectOptions | undefined) => import("@loopback/core").JSONObject;
|
|
@@ -162,18 +162,18 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
162
162
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
|
|
163
163
|
(event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
|
|
164
164
|
};
|
|
165
|
-
addListener: (
|
|
166
|
-
removeListener: (
|
|
167
|
-
off: (
|
|
165
|
+
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
166
|
+
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
167
|
+
off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
168
168
|
removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
|
|
169
169
|
setMaxListeners: (n: number) => import("@loopback/core").Application;
|
|
170
170
|
getMaxListeners: () => number;
|
|
171
|
-
listeners: (
|
|
172
|
-
rawListeners: (
|
|
173
|
-
emit: (
|
|
174
|
-
listenerCount: (
|
|
175
|
-
prependListener: (
|
|
176
|
-
prependOnceListener: (
|
|
171
|
+
listeners: (eventName: string | symbol) => Function[];
|
|
172
|
+
rawListeners: (eventName: string | symbol) => Function[];
|
|
173
|
+
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
174
|
+
listenerCount: (eventName: string | symbol) => number;
|
|
175
|
+
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
176
|
+
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
177
177
|
eventNames: () => (string | symbol)[];
|
|
178
178
|
}) & (new (...args: any[]) => {
|
|
179
179
|
repository<R extends import("@loopback/repository").Repository<any>>(repoClass: import("@loopback/repository").Class<R>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined): import("@loopback/boot").Binding<R>;
|
|
@@ -186,10 +186,10 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
186
186
|
migrateSchema(options?: import("@loopback/repository").SchemaMigrationOptions | undefined): Promise<void>;
|
|
187
187
|
readonly options: ApplicationConfig;
|
|
188
188
|
readonly state: string;
|
|
189
|
-
controller: <
|
|
190
|
-
server: <
|
|
191
|
-
servers: <
|
|
192
|
-
getServer: <
|
|
189
|
+
controller: <T_9>(controllerCtor: import("@loopback/core").ControllerClass<T_9>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => import("@loopback/boot").Binding<T_9>;
|
|
190
|
+
server: <T_1_2 extends import("@loopback/core").Server>(ctor: import("@loopback/core").Constructor<T_1_2>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => import("@loopback/boot").Binding<T_1_2>;
|
|
191
|
+
servers: <T_2_2 extends import("@loopback/core").Server>(ctors: import("@loopback/core").Constructor<T_2_2>[]) => import("@loopback/boot").Binding<any>[];
|
|
192
|
+
getServer: <T_3_2 extends import("@loopback/core").Server>(target: string | import("@loopback/core").Constructor<T_3_2>) => Promise<T_3_2>;
|
|
193
193
|
init: () => Promise<void>;
|
|
194
194
|
onInit: (fn: () => import("@loopback/core").ValueOrPromise<void>) => import("@loopback/boot").Binding<import("@loopback/core").LifeCycleObserver>;
|
|
195
195
|
start: () => Promise<void>;
|
|
@@ -197,14 +197,14 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
197
197
|
stop: () => Promise<void>;
|
|
198
198
|
onStop: (fn: () => import("@loopback/core").ValueOrPromise<void>) => import("@loopback/boot").Binding<import("@loopback/core").LifeCycleObserver>;
|
|
199
199
|
setMetadata: (metadata: import("@loopback/core").ApplicationMetadata) => void;
|
|
200
|
-
lifeCycleObserver: <
|
|
200
|
+
lifeCycleObserver: <T_4_2 extends import("@loopback/core").LifeCycleObserver>(ctor: import("@loopback/core").Constructor<T_4_2>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => import("@loopback/boot").Binding<T_4_2>;
|
|
201
201
|
service: <S_2>(cls: import("@loopback/core").ServiceOrProviderClass<S_2>, nameOrOptions?: string | import("@loopback/core").ServiceOptions | undefined) => import("@loopback/boot").Binding<S_2>;
|
|
202
202
|
interceptor: (interceptor: import("@loopback/core").Interceptor | import("@loopback/core").Constructor<import("@loopback/core").Provider<import("@loopback/core").Interceptor>>, nameOrOptions?: string | import("@loopback/core").InterceptorBindingOptions | undefined) => import("@loopback/boot").Binding<import("@loopback/core").Interceptor>;
|
|
203
203
|
readonly name: string;
|
|
204
204
|
readonly subscriptionManager: import("@loopback/core").ContextSubscriptionManager;
|
|
205
205
|
scope: import("@loopback/core").BindingScope;
|
|
206
206
|
readonly parent: import("@loopback/core").Context | undefined;
|
|
207
|
-
emitEvent: <
|
|
207
|
+
emitEvent: <T_5_2 extends import("@loopback/core").ContextEvent>(type: string, event: T_5_2) => void;
|
|
208
208
|
emitError: (err: unknown) => void;
|
|
209
209
|
bind: <ValueType_11 = any>(key: import("@loopback/core").BindingAddress<ValueType_11>) => import("@loopback/boot").Binding<ValueType_11>;
|
|
210
210
|
add: (binding: import("@loopback/boot").Binding<unknown>) => import("@loopback/core").Application;
|
|
@@ -217,7 +217,7 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
217
217
|
unsubscribe: (observer: import("@loopback/core").ContextEventObserver) => boolean;
|
|
218
218
|
close: () => void;
|
|
219
219
|
isSubscribed: (observer: import("@loopback/core").ContextObserver) => boolean;
|
|
220
|
-
createView: <
|
|
220
|
+
createView: <T_6_2 = unknown>(filter: import("@loopback/core").BindingFilter, comparator?: import("@loopback/core").BindingComparator | undefined, options?: Omit<import("@loopback/core").ResolutionOptions, "session"> | undefined) => import("@loopback/core").ContextView<T_6_2>;
|
|
221
221
|
contains: (key: import("@loopback/core").BindingAddress<unknown>) => boolean;
|
|
222
222
|
isBound: (key: import("@loopback/core").BindingAddress<unknown>) => boolean;
|
|
223
223
|
getOwnerContext: (keyOrBinding: import("@loopback/core").BindingAddress<unknown> | Readonly<import("@loopback/boot").Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
@@ -240,7 +240,7 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
240
240
|
optional?: boolean | undefined;
|
|
241
241
|
} | undefined): import("@loopback/boot").Binding<ValueType_8_2> | undefined;
|
|
242
242
|
};
|
|
243
|
-
findOrCreateBinding: <
|
|
243
|
+
findOrCreateBinding: <T_7_2>(key: import("@loopback/core").BindingAddress<T_7_2>, policy?: import("@loopback/core").BindingCreationPolicy | undefined) => import("@loopback/boot").Binding<T_7_2>;
|
|
244
244
|
getValueOrPromise: <ValueType_9_2>(keyWithPath: import("@loopback/core").BindingAddress<ValueType_9_2>, optionsOrSession?: import("@loopback/core").ResolutionOptionsOrSession | undefined) => import("@loopback/core").ValueOrPromise<ValueType_9_2 | undefined>;
|
|
245
245
|
toJSON: () => import("@loopback/core").JSONObject;
|
|
246
246
|
inspect: (options?: import("@loopback/core").ContextInspectOptions | undefined) => import("@loopback/core").JSONObject;
|
|
@@ -252,18 +252,18 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
|
|
|
252
252
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
|
|
253
253
|
(event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
|
|
254
254
|
};
|
|
255
|
-
addListener: (
|
|
256
|
-
removeListener: (
|
|
257
|
-
off: (
|
|
255
|
+
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
256
|
+
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
257
|
+
off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
258
258
|
removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
|
|
259
259
|
setMaxListeners: (n: number) => import("@loopback/core").Application;
|
|
260
260
|
getMaxListeners: () => number;
|
|
261
|
-
listeners: (
|
|
262
|
-
rawListeners: (
|
|
263
|
-
emit: (
|
|
264
|
-
listenerCount: (
|
|
265
|
-
prependListener: (
|
|
266
|
-
prependOnceListener: (
|
|
261
|
+
listeners: (eventName: string | symbol) => Function[];
|
|
262
|
+
rawListeners: (eventName: string | symbol) => Function[];
|
|
263
|
+
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
264
|
+
listenerCount: (eventName: string | symbol) => number;
|
|
265
|
+
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
266
|
+
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
267
267
|
eventNames: () => (string | symbol)[];
|
|
268
268
|
}) & typeof RestApplication;
|
|
269
269
|
export declare class OAuth2LoginApplication extends OAuth2LoginApplication_base {
|
|
@@ -8,7 +8,7 @@ exports.FacebookOauthInterceptor = void 0;
|
|
|
8
8
|
const tslib_1 = require("tslib");
|
|
9
9
|
const core_1 = require("@loopback/core");
|
|
10
10
|
const rest_1 = require("@loopback/rest");
|
|
11
|
-
let FacebookOauthInterceptor = class FacebookOauthInterceptor {
|
|
11
|
+
let FacebookOauthInterceptor = exports.FacebookOauthInterceptor = class FacebookOauthInterceptor {
|
|
12
12
|
constructor(facebookStrategy) {
|
|
13
13
|
this.facebookStrategy = facebookStrategy;
|
|
14
14
|
}
|
|
@@ -23,9 +23,8 @@ let FacebookOauthInterceptor = class FacebookOauthInterceptor {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
FacebookOauthInterceptor = tslib_1.__decorate([
|
|
26
|
+
exports.FacebookOauthInterceptor = FacebookOauthInterceptor = tslib_1.__decorate([
|
|
27
27
|
tslib_1.__param(0, (0, core_1.inject)('facebookStrategyMiddleware')),
|
|
28
28
|
tslib_1.__metadata("design:paramtypes", [Function])
|
|
29
29
|
], FacebookOauthInterceptor);
|
|
30
|
-
exports.FacebookOauthInterceptor = FacebookOauthInterceptor;
|
|
31
30
|
//# sourceMappingURL=facebook.interceptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facebook.interceptor.js","sourceRoot":"","sources":["../../src/authentication-interceptors/facebook.interceptor.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAMwB;AACxB,yCAKwB;
|
|
1
|
+
{"version":3,"file":"facebook.interceptor.js","sourceRoot":"","sources":["../../src/authentication-interceptors/facebook.interceptor.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAMwB;AACxB,yCAKwB;AAExB,IAAa,wBAAwB,sCAArC,MAAa,wBAAwB;IACnC,YAES,gBAAuC;QAAvC,qBAAgB,GAAhB,gBAAgB,CAAuB;IAC7C,CAAC;IAEJ,KAAK;QACH,OAAO,KAAK,EAAE,aAAgC,EAAE,IAAU,EAAE,EAAE;YAC5D,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,CACtC,mBAAY,CAAC,IAAI,CAAC,OAAO,CAC1B,CAAC;YACF,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;YACnC,IAAI,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,KAAK,UAAU,EAAE;gBACxD,OAAO,IAAA,oBAAa,EAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;aAClE;YACD,OAAO,IAAI,EAAE,CAAC;QAChB,CAAC,CAAC;IACJ,CAAC;CACF,CAAA;mCAlBY,wBAAwB;IAEhC,mBAAA,IAAA,aAAM,EAAC,4BAA4B,CAAC,CAAA;;GAF5B,wBAAwB,CAkBpC"}
|
|
@@ -8,7 +8,7 @@ exports.GoogleOauthInterceptor = void 0;
|
|
|
8
8
|
const tslib_1 = require("tslib");
|
|
9
9
|
const core_1 = require("@loopback/core");
|
|
10
10
|
const rest_1 = require("@loopback/rest");
|
|
11
|
-
let GoogleOauthInterceptor = class GoogleOauthInterceptor {
|
|
11
|
+
let GoogleOauthInterceptor = exports.GoogleOauthInterceptor = class GoogleOauthInterceptor {
|
|
12
12
|
constructor(googleStrategy) {
|
|
13
13
|
this.googleStrategy = googleStrategy;
|
|
14
14
|
}
|
|
@@ -23,9 +23,8 @@ let GoogleOauthInterceptor = class GoogleOauthInterceptor {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
GoogleOauthInterceptor = tslib_1.__decorate([
|
|
26
|
+
exports.GoogleOauthInterceptor = GoogleOauthInterceptor = tslib_1.__decorate([
|
|
27
27
|
tslib_1.__param(0, (0, core_1.inject)('googleStrategyMiddleware')),
|
|
28
28
|
tslib_1.__metadata("design:paramtypes", [Function])
|
|
29
29
|
], GoogleOauthInterceptor);
|
|
30
|
-
exports.GoogleOauthInterceptor = GoogleOauthInterceptor;
|
|
31
30
|
//# sourceMappingURL=google.interceptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google.interceptor.js","sourceRoot":"","sources":["../../src/authentication-interceptors/google.interceptor.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAMwB;AACxB,yCAKwB;
|
|
1
|
+
{"version":3,"file":"google.interceptor.js","sourceRoot":"","sources":["../../src/authentication-interceptors/google.interceptor.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAMwB;AACxB,yCAKwB;AAExB,IAAa,sBAAsB,oCAAnC,MAAa,sBAAsB;IACjC,YAES,cAAqC;QAArC,mBAAc,GAAd,cAAc,CAAuB;IAC3C,CAAC;IAEJ,KAAK;QACH,OAAO,KAAK,EAAE,aAAgC,EAAE,IAAU,EAAE,EAAE;YAC5D,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,CACtC,mBAAY,CAAC,IAAI,CAAC,OAAO,CAC1B,CAAC;YACF,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;YACnC,IAAI,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,KAAK,QAAQ,EAAE;gBACtD,OAAO,IAAA,oBAAa,EAAC,IAAI,CAAC,cAAc,CAAC,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;aAChE;YACD,OAAO,IAAI,EAAE,CAAC;QAChB,CAAC,CAAC;IACJ,CAAC;CACF,CAAA;iCAlBY,sBAAsB;IAE9B,mBAAA,IAAA,aAAM,EAAC,0BAA0B,CAAC,CAAA;;GAF1B,sBAAsB,CAkBlC"}
|
|
@@ -8,7 +8,7 @@ exports.CustomOauth2Interceptor = void 0;
|
|
|
8
8
|
const tslib_1 = require("tslib");
|
|
9
9
|
const core_1 = require("@loopback/core");
|
|
10
10
|
const rest_1 = require("@loopback/rest");
|
|
11
|
-
let CustomOauth2Interceptor = class CustomOauth2Interceptor {
|
|
11
|
+
let CustomOauth2Interceptor = exports.CustomOauth2Interceptor = class CustomOauth2Interceptor {
|
|
12
12
|
constructor(oauth2Strategy) {
|
|
13
13
|
this.oauth2Strategy = oauth2Strategy;
|
|
14
14
|
}
|
|
@@ -23,9 +23,8 @@ let CustomOauth2Interceptor = class CustomOauth2Interceptor {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
CustomOauth2Interceptor = tslib_1.__decorate([
|
|
26
|
+
exports.CustomOauth2Interceptor = CustomOauth2Interceptor = tslib_1.__decorate([
|
|
27
27
|
tslib_1.__param(0, (0, core_1.inject)('oauth2StrategyMiddleware')),
|
|
28
28
|
tslib_1.__metadata("design:paramtypes", [Function])
|
|
29
29
|
], CustomOauth2Interceptor);
|
|
30
|
-
exports.CustomOauth2Interceptor = CustomOauth2Interceptor;
|
|
31
30
|
//# sourceMappingURL=oauth2.interceptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2.interceptor.js","sourceRoot":"","sources":["../../src/authentication-interceptors/oauth2.interceptor.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAMwB;AACxB,yCAKwB;
|
|
1
|
+
{"version":3,"file":"oauth2.interceptor.js","sourceRoot":"","sources":["../../src/authentication-interceptors/oauth2.interceptor.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAMwB;AACxB,yCAKwB;AAExB,IAAa,uBAAuB,qCAApC,MAAa,uBAAuB;IAClC,YAES,cAAqC;QAArC,mBAAc,GAAd,cAAc,CAAuB;IAC3C,CAAC;IAEJ,KAAK;QACH,OAAO,KAAK,EAAE,aAAgC,EAAE,IAAU,EAAE,EAAE;YAC5D,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,CACtC,mBAAY,CAAC,IAAI,CAAC,OAAO,CAC1B,CAAC;YACF,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;YACnC,IAAI,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,KAAK,QAAQ,EAAE;gBACtD,OAAO,IAAA,oBAAa,EAAC,IAAI,CAAC,cAAc,CAAC,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;aAChE;YACD,OAAO,IAAI,EAAE,CAAC;QAChB,CAAC,CAAC;IACJ,CAAC;CACF,CAAA;kCAlBY,uBAAuB;IAE/B,mBAAA,IAAA,aAAM,EAAC,0BAA0B,CAAC,CAAA;;GAF1B,uBAAuB,CAkBnC"}
|
|
@@ -8,7 +8,7 @@ exports.TwitterOauthInterceptor = void 0;
|
|
|
8
8
|
const tslib_1 = require("tslib");
|
|
9
9
|
const core_1 = require("@loopback/core");
|
|
10
10
|
const rest_1 = require("@loopback/rest");
|
|
11
|
-
let TwitterOauthInterceptor = class TwitterOauthInterceptor {
|
|
11
|
+
let TwitterOauthInterceptor = exports.TwitterOauthInterceptor = class TwitterOauthInterceptor {
|
|
12
12
|
constructor(twitterStrategy) {
|
|
13
13
|
this.twitterStrategy = twitterStrategy;
|
|
14
14
|
}
|
|
@@ -23,9 +23,8 @@ let TwitterOauthInterceptor = class TwitterOauthInterceptor {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
TwitterOauthInterceptor = tslib_1.__decorate([
|
|
26
|
+
exports.TwitterOauthInterceptor = TwitterOauthInterceptor = tslib_1.__decorate([
|
|
27
27
|
tslib_1.__param(0, (0, core_1.inject)('twitterStrategyMiddleware')),
|
|
28
28
|
tslib_1.__metadata("design:paramtypes", [Function])
|
|
29
29
|
], TwitterOauthInterceptor);
|
|
30
|
-
exports.TwitterOauthInterceptor = TwitterOauthInterceptor;
|
|
31
30
|
//# sourceMappingURL=twitter.interceptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twitter.interceptor.js","sourceRoot":"","sources":["../../src/authentication-interceptors/twitter.interceptor.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAMwB;AACxB,yCAKwB;
|
|
1
|
+
{"version":3,"file":"twitter.interceptor.js","sourceRoot":"","sources":["../../src/authentication-interceptors/twitter.interceptor.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAMwB;AACxB,yCAKwB;AAExB,IAAa,uBAAuB,qCAApC,MAAa,uBAAuB;IAClC,YAES,eAAsC;QAAtC,oBAAe,GAAf,eAAe,CAAuB;IAC5C,CAAC;IAEJ,KAAK;QACH,OAAO,KAAK,EAAE,aAAgC,EAAE,IAAU,EAAE,EAAE;YAC5D,MAAM,UAAU,GAAG,aAAa,CAAC,OAAO,CACtC,mBAAY,CAAC,IAAI,CAAC,OAAO,CAC1B,CAAC;YACF,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;YACnC,IAAI,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,KAAK,SAAS,EAAE;gBACvD,OAAO,IAAA,oBAAa,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;aACjE;YACD,OAAO,IAAI,EAAE,CAAC;QAChB,CAAC,CAAC;IACJ,CAAC;CACF,CAAA;kCAlBY,uBAAuB;IAE/B,mBAAA,IAAA,aAAM,EAAC,2BAA2B,CAAC,CAAA;;GAF3B,uBAAuB,CAkBnC"}
|
|
@@ -16,7 +16,7 @@ const types_1 = require("./types");
|
|
|
16
16
|
/**
|
|
17
17
|
* basic passport strategy
|
|
18
18
|
*/
|
|
19
|
-
let BasicStrategy = class BasicStrategy {
|
|
19
|
+
let BasicStrategy = exports.BasicStrategy = class BasicStrategy {
|
|
20
20
|
constructor(userRepository) {
|
|
21
21
|
this.userRepository = userRepository;
|
|
22
22
|
this.name = 'basic';
|
|
@@ -89,10 +89,9 @@ let BasicStrategy = class BasicStrategy {
|
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
|
-
BasicStrategy = tslib_1.__decorate([
|
|
92
|
+
exports.BasicStrategy = BasicStrategy = tslib_1.__decorate([
|
|
93
93
|
(0, core_1.injectable)(authentication_1.asAuthStrategy),
|
|
94
94
|
tslib_1.__param(0, (0, repository_1.repository)(repositories_1.UserRepository)),
|
|
95
95
|
tslib_1.__metadata("design:paramtypes", [repositories_1.UserRepository])
|
|
96
96
|
], BasicStrategy);
|
|
97
|
-
exports.BasicStrategy = BasicStrategy;
|
|
98
97
|
//# sourceMappingURL=basic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basic.js","sourceRoot":"","sources":["../../src/authentication-strategies/basic.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAA0C;AAC1C,qDAAgD;AAGhD,iDAAwD;AAExD,kDAA+C;AAC/C,mCAAmC;AAEnC;;GAEG;AAEI,IAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"basic.js","sourceRoot":"","sources":["../../src/authentication-strategies/basic.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAA0C;AAC1C,qDAAgD;AAGhD,iDAAwD;AAExD,kDAA+C;AAC/C,mCAAmC;AAEnC;;GAEG;AAEI,IAAM,aAAa,2BAAnB,MAAM,aAAa;IAKxB,YAEE,cAAqC;QAA9B,mBAAc,GAAd,cAAc,CAAgB;QANvC,SAAI,GAAG,OAAO,CAAC;QAQb;;WAEG;QACH,IAAI,CAAC,gBAAgB,GAAG,IAAI,6BAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAC7D;;WAEG;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,yCAAe,CACjC,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,IAAI,EACT,kBAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CACtB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,YAAY,CAAC,OAAgB;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,QAAgB,EAChB,QAAgB;IAChB,8DAA8D;IAC9D,IAAsC;QAEtC;;;;;WAKG;QACH,IAAI,QAAQ,KAAK,OAAO,IAAI,QAAQ,KAAK,UAAU,EAAE;YACnD,OAAO,IAAI,CAAC,IAAI,EAAE;gBAChB,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;gBACjB,KAAK,EAAE,mBAAmB;aAC3B,CAAC,CAAC;SACJ;QAED,IAAI,CAAC,cAAc;aAChB,IAAI,CAAC;YACJ,KAAK,EAAE;gBACL,KAAK,EAAE,QAAQ;aAChB;YACD,OAAO,EAAE,CAAC,UAAU,EAAE,aAAa,CAAC;SACrC,CAAC;aACD,IAAI,CAAC,CAAC,KAAa,EAAE,EAAE;YACtB,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAA,EAAE;gBAClB,OAAO,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;aAC1B;YACD,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,CAAC,QAAQ,KAAK,QAAQ,EAAE;gBAC/D,OAAO,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;aAC1B;YACD,6CAA6C;YAC7C,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACnB,CAAC,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,EAAE;YACX;;;eAGG;YACH,IAAI,CAAC,GAAG,CAAC,CAAC;QACZ,CAAC,CAAC,CAAC;IACP,CAAC;CACF,CAAA;wBAvFY,aAAa;IADzB,IAAA,iBAAU,EAAC,+BAAc,CAAC;IAOtB,mBAAA,IAAA,uBAAU,EAAC,6BAAc,CAAC,CAAA;6CACJ,6BAAc;GAP5B,aAAa,CAuFzB"}
|
|
@@ -11,7 +11,7 @@ const authentication_passport_1 = require("@loopback/authentication-passport");
|
|
|
11
11
|
const core_1 = require("@loopback/core");
|
|
12
12
|
const passport_facebook_1 = require("passport-facebook");
|
|
13
13
|
const types_1 = require("./types");
|
|
14
|
-
let FaceBookOauth2Authentication = class FaceBookOauth2Authentication {
|
|
14
|
+
let FaceBookOauth2Authentication = exports.FaceBookOauth2Authentication = class FaceBookOauth2Authentication {
|
|
15
15
|
/**
|
|
16
16
|
* create an oauth2 strategy for facebook
|
|
17
17
|
*/
|
|
@@ -28,10 +28,9 @@ let FaceBookOauth2Authentication = class FaceBookOauth2Authentication {
|
|
|
28
28
|
return this.strategy.authenticate(request);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
FaceBookOauth2Authentication = tslib_1.__decorate([
|
|
31
|
+
exports.FaceBookOauth2Authentication = FaceBookOauth2Authentication = tslib_1.__decorate([
|
|
32
32
|
(0, core_1.injectable)(authentication_1.asAuthStrategy, (0, core_1.extensionFor)(types_1.PassportAuthenticationBindings.OAUTH2_STRATEGY)),
|
|
33
33
|
tslib_1.__param(0, (0, core_1.inject)('facebookStrategy')),
|
|
34
34
|
tslib_1.__metadata("design:paramtypes", [passport_facebook_1.Strategy])
|
|
35
35
|
], FaceBookOauth2Authentication);
|
|
36
|
-
exports.FaceBookOauth2Authentication = FaceBookOauth2Authentication;
|
|
37
36
|
//# sourceMappingURL=facebook.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facebook.js","sourceRoot":"","sources":["../../src/authentication-strategies/facebook.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAAgE;AAGhE,yDAA2C;AAE3C,mCAAmE;AAM5D,IAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"facebook.js","sourceRoot":"","sources":["../../src/authentication-strategies/facebook.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAAgE;AAGhE,yDAA2C;AAE3C,mCAAmE;AAM5D,IAAM,4BAA4B,0CAAlC,MAAM,4BAA4B;IAIvC;;OAEG;IACH,YAEE,gBAAiC;QAA1B,qBAAgB,GAAhB,gBAAgB,CAAU;QARnC,SAAI,GAAG,iBAAiB,CAAC;QAUvB,IAAI,CAAC,QAAQ,GAAG,IAAI,yCAAe,CACjC,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,IAAI,EACT,kBAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CACtB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,YAAY,CAAC,OAAgB;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;CACF,CAAA;uCAzBY,4BAA4B;IAJxC,IAAA,iBAAU,EACT,+BAAc,EACd,IAAA,mBAAY,EAAC,sCAA8B,CAAC,eAAe,CAAC,CAC7D;IASI,mBAAA,IAAA,aAAM,EAAC,kBAAkB,CAAC,CAAA;6CACF,4BAAQ;GATxB,4BAA4B,CAyBxC"}
|
|
@@ -11,7 +11,7 @@ const authentication_passport_1 = require("@loopback/authentication-passport");
|
|
|
11
11
|
const core_1 = require("@loopback/core");
|
|
12
12
|
const passport_google_oauth2_1 = require("passport-google-oauth2");
|
|
13
13
|
const types_1 = require("./types");
|
|
14
|
-
let GoogleOauth2Authentication = class GoogleOauth2Authentication {
|
|
14
|
+
let GoogleOauth2Authentication = exports.GoogleOauth2Authentication = class GoogleOauth2Authentication {
|
|
15
15
|
/**
|
|
16
16
|
* create an oauth2 strategy for google
|
|
17
17
|
*/
|
|
@@ -28,10 +28,9 @@ let GoogleOauth2Authentication = class GoogleOauth2Authentication {
|
|
|
28
28
|
return this.strategy.authenticate(request);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
GoogleOauth2Authentication = tslib_1.__decorate([
|
|
31
|
+
exports.GoogleOauth2Authentication = GoogleOauth2Authentication = tslib_1.__decorate([
|
|
32
32
|
(0, core_1.injectable)(authentication_1.asAuthStrategy, (0, core_1.extensionFor)(types_1.PassportAuthenticationBindings.OAUTH2_STRATEGY)),
|
|
33
33
|
tslib_1.__param(0, (0, core_1.inject)('googleStrategy')),
|
|
34
34
|
tslib_1.__metadata("design:paramtypes", [passport_google_oauth2_1.Strategy])
|
|
35
35
|
], GoogleOauth2Authentication);
|
|
36
|
-
exports.GoogleOauth2Authentication = GoogleOauth2Authentication;
|
|
37
36
|
//# sourceMappingURL=google.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google.js","sourceRoot":"","sources":["../../src/authentication-strategies/google.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAAgE;AAGhE,mEAAgD;AAEhD,mCAAmE;AAM5D,IAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"google.js","sourceRoot":"","sources":["../../src/authentication-strategies/google.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAAgE;AAGhE,mEAAgD;AAEhD,mCAAmE;AAM5D,IAAM,0BAA0B,wCAAhC,MAAM,0BAA0B;IAIrC;;OAEG;IACH,YAEE,gBAAiC;QAA1B,qBAAgB,GAAhB,gBAAgB,CAAU;QARnC,SAAI,GAAG,eAAe,CAAC;QAUrB,IAAI,CAAC,QAAQ,GAAG,IAAI,yCAAe,CACjC,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,IAAI,EACT,kBAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CACtB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,YAAY,CAAC,OAAgB;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;CACF,CAAA;qCAzBY,0BAA0B;IAJtC,IAAA,iBAAU,EACT,+BAAc,EACd,IAAA,mBAAY,EAAC,sCAA8B,CAAC,eAAe,CAAC,CAC7D;IASI,mBAAA,IAAA,aAAM,EAAC,gBAAgB,CAAC,CAAA;6CACA,iCAAQ;GATxB,0BAA0B,CAyBtC"}
|
|
@@ -13,7 +13,7 @@ const repository_1 = require("@loopback/repository");
|
|
|
13
13
|
const security_1 = require("@loopback/security");
|
|
14
14
|
const passport_local_1 = require("passport-local");
|
|
15
15
|
const repositories_1 = require("../repositories");
|
|
16
|
-
let LocalAuthStrategy = class LocalAuthStrategy {
|
|
16
|
+
let LocalAuthStrategy = exports.LocalAuthStrategy = class LocalAuthStrategy {
|
|
17
17
|
/**
|
|
18
18
|
* create a local passport strategy
|
|
19
19
|
*/
|
|
@@ -98,10 +98,9 @@ let LocalAuthStrategy = class LocalAuthStrategy {
|
|
|
98
98
|
return userProfile;
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
-
LocalAuthStrategy = tslib_1.__decorate([
|
|
101
|
+
exports.LocalAuthStrategy = LocalAuthStrategy = tslib_1.__decorate([
|
|
102
102
|
(0, core_1.injectable)(authentication_1.asAuthStrategy),
|
|
103
103
|
tslib_1.__param(0, (0, repository_1.repository)(repositories_1.UserRepository)),
|
|
104
104
|
tslib_1.__metadata("design:paramtypes", [repositories_1.UserRepository])
|
|
105
105
|
], LocalAuthStrategy);
|
|
106
|
-
exports.LocalAuthStrategy = LocalAuthStrategy;
|
|
107
106
|
//# sourceMappingURL=local.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local.js","sourceRoot":"","sources":["../../src/authentication-strategies/local.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAA0C;AAC1C,qDAAgD;AAEhD,iDAA2D;AAC3D,mDAAwD;AAExD,kDAA+C;AAGxC,IAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"local.js","sourceRoot":"","sources":["../../src/authentication-strategies/local.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAA0C;AAC1C,qDAAgD;AAEhD,iDAA2D;AAC3D,mDAAwD;AAExD,kDAA+C;AAGxC,IAAM,iBAAiB,+BAAvB,MAAM,iBAAiB;IAK5B;;OAEG;IACH,YAEE,cAAqC;QAA9B,mBAAc,GAAd,cAAc,CAAgB;QATvC,SAAI,GAAG,OAAO,CAAC;QAWb;;WAEG;QACH,IAAI,CAAC,gBAAgB,GAAG,IAAI,yBAAQ,CAClC;YACE,aAAa,EAAE,OAAO;YACtB,aAAa,EAAE,UAAU;YACzB,OAAO,EAAE,KAAK;SACf,EACD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CACvB,CAAC;QACF;;WAEG;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,yCAAe,CACjC,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAC3B,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,YAAY,CAAC,OAAgB;QACjC,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,QAAgB,EAChB,QAAgB;IAChB,8DAA8D;IAC9D,IAAgE;QAEhE,IAAI,CAAC,cAAc;aAChB,IAAI,CAAC;YACJ,KAAK,EAAE;gBACL,KAAK,EAAE,QAAQ;aAChB;YACD,OAAO,EAAE,CAAC,UAAU,EAAE,aAAa,CAAC;SACrC,CAAC;aACD,IAAI,CAAC,CAAC,KAAa,EAAE,EAAE;YACtB,MAAM,mBAAmB,GAAG,mCAAmC,CAAC;YAChE;;;eAGG;YACH,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAA,EAAE;gBAClB,OAAO,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAC,OAAO,EAAE,mBAAmB,EAAC,CAAC,CAAC;aACzD;YACD,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,CAAC,QAAQ,KAAK,QAAQ,EAAE;gBAC/D,OAAO,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAC,OAAO,EAAE,mBAAmB,EAAC,CAAC,CAAC;aACzD;YACD,6CAA6C;YAC7C,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACnB,CAAC,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,EAAE;YACX;;;eAGG;YACH,IAAI,CAAC,GAAG,CAAC,CAAC;QACZ,CAAC,CAAC,CAAC;IACP,CAAC;IAED;;;;OAIG;IACH,UAAU,CAAC,IAAU;QACnB,MAAM,WAAW,GAAgB;YAC/B,CAAC,qBAAU,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,EAAE;YAC1B,OAAO,EAAE;gBACP,GAAG,IAAI;aACR;SACF,CAAC;QACF,OAAO,WAAW,CAAC;IACrB,CAAC;CACF,CAAA;4BAtGY,iBAAiB;IAD7B,IAAA,iBAAU,EAAC,+BAAc,CAAC;IAUtB,mBAAA,IAAA,uBAAU,EAAC,6BAAc,CAAC,CAAA;6CACJ,6BAAc;GAV5B,iBAAiB,CAsG7B"}
|
|
@@ -11,16 +11,11 @@ const authentication_passport_1 = require("@loopback/authentication-passport");
|
|
|
11
11
|
const core_1 = require("@loopback/core");
|
|
12
12
|
const passport_oauth2_1 = require("passport-oauth2");
|
|
13
13
|
const types_1 = require("./types");
|
|
14
|
-
let Oauth2AuthStrategy = class Oauth2AuthStrategy {
|
|
14
|
+
let Oauth2AuthStrategy = exports.Oauth2AuthStrategy = class Oauth2AuthStrategy {
|
|
15
15
|
/**
|
|
16
16
|
* create an oauth2 strategy
|
|
17
17
|
*/
|
|
18
|
-
constructor(
|
|
19
|
-
/**
|
|
20
|
-
* enable extensions for provider specific oauth2 implementations
|
|
21
|
-
* reroute to the specific extension based on given provider name
|
|
22
|
-
*/
|
|
23
|
-
getStrategies, passportstrategy) {
|
|
18
|
+
constructor(getStrategies, passportstrategy) {
|
|
24
19
|
this.getStrategies = getStrategies;
|
|
25
20
|
this.passportstrategy = passportstrategy;
|
|
26
21
|
this.name = 'oauth2';
|
|
@@ -51,11 +46,10 @@ let Oauth2AuthStrategy = class Oauth2AuthStrategy {
|
|
|
51
46
|
}
|
|
52
47
|
}
|
|
53
48
|
};
|
|
54
|
-
Oauth2AuthStrategy = tslib_1.__decorate([
|
|
49
|
+
exports.Oauth2AuthStrategy = Oauth2AuthStrategy = tslib_1.__decorate([
|
|
55
50
|
(0, core_1.injectable)(authentication_1.asAuthStrategy),
|
|
56
51
|
tslib_1.__param(0, (0, core_1.extensions)(types_1.PassportAuthenticationBindings.OAUTH2_STRATEGY)),
|
|
57
52
|
tslib_1.__param(1, (0, core_1.inject)('oauth2Strategy')),
|
|
58
53
|
tslib_1.__metadata("design:paramtypes", [Function, passport_oauth2_1.Strategy])
|
|
59
54
|
], Oauth2AuthStrategy);
|
|
60
|
-
exports.Oauth2AuthStrategy = Oauth2AuthStrategy;
|
|
61
55
|
//# sourceMappingURL=oauth2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2.js","sourceRoot":"","sources":["../../src/authentication-strategies/oauth2.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAAsE;AAGtE,qDAAyC;AAEzC,mCAAmE;AAG5D,IAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"oauth2.js","sourceRoot":"","sources":["../../src/authentication-strategies/oauth2.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,gDAAgD;AAChD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,6DAAgF;AAChF,+EAAkE;AAClE,yCAAsE;AAGtE,qDAAyC;AAEzC,mCAAmE;AAG5D,IAAM,kBAAkB,gCAAxB,MAAM,kBAAkB;IAI7B;;OAEG;IACH,YAME,aAAmD,EAEnD,gBAAiC;QAFzB,kBAAa,GAAb,aAAa,CAA8B;QAE5C,qBAAgB,GAAhB,gBAAgB,CAAU;QAdnC,SAAI,GAAG,QAAQ,CAAC;QAgBd,IAAI,CAAC,QAAQ,GAAG,IAAI,yCAAe,CACjC,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,IAAI,EACT,kBAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CACtB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,YAAY,CAAC,OAAgB;QACjC,IACE,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC;YACrC,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,KAAK,QAAQ,EAClD;YACA;;eAEG;YACH,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;YAC3D,MAAM,UAAU,GAAyB,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC;YACpE,MAAM,QAAQ,GAAG,UAAU,CAAC,IAAI,CAC9B,CAAC,CAAqB,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,GAAG,YAAY,CAC/D,CAAC;YACF,IAAI,CAAC,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;YACrD,OAAO,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;SACvC;aAAM;YACL;;eAEG;YACH,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;SAC5C;IACH,CAAC;CACF,CAAA;6BAlDY,kBAAkB;IAD9B,IAAA,iBAAU,EAAC,+BAAc,CAAC;IAatB,mBAAA,IAAA,iBAAU,EAAC,sCAA8B,CAAC,eAAe,CAAC,CAAA;IAE1D,mBAAA,IAAA,aAAM,EAAC,gBAAgB,CAAC,CAAA;uDACA,0BAAQ;GAfxB,kBAAkB,CAkD9B"}
|