22export class AuthConfig {
33 /**
44 * The client's id as registered with the auth server
5- * @internal DEPREACTED/ LEGACY. Use method configure instead.
65 */
76 public clientId ? = '' ;
87
98 /**
109 * The client's redirectUri as registered with the auth server
11- *
12- * @internal DEPREACTED/ LEGACY. Use method configure instead.
1310 */
1411 public redirectUri ? = '' ;
1512
1613 /**
1714 * An optional second redirectUri where the auth server
1815 * redirects the user to after logging out.
19- * @internal DEPREACTED/ LEGACY. Use method configure instead.
2016 */
2117 public postLogoutRedirectUri ? = '' ;
2218
2319 /**
2420 * The auth server's endpoint that allows to log
2521 * the user in when using implicit flow.
26- * @internal DEPREACTED/ LEGACY. Use method configure instead.
27- *
2822 */
2923 public loginUrl ? = '' ;
3024
3125 /**
3226 * The requested scopes
33- *
34- * @internal DEPREACTED/ LEGACY. Use method configure instead.
35- *
3627 */
3728 public scope ? = 'openid profile' ;
3829
39- /**
40- * @internal DEPREACTED/ LEGACY. Use method configure instead.
41- */
4230 public resource ? = '' ;
4331
44- /**
45- * @internal DEPREACTED/ LEGACY. Use method configure instead.
46- */
4732 public rngUrl ? = '' ;
4833
4934 /**
5035 * Defines whether to use OpenId Connect during
5136 * implicit flow.
52- *
53- * @internal DEPREACTED/ LEGACY. Use method configure instead.
5437 */
5538 public oidc ? = true ;
5639
5740 /**
5841 * Defines whether to request a access token during
5942 * implicit flow.
60- *
61- * @internal DEPREACTED/ LEGACY. Use method configure instead.
6243 */
6344 public requestAccessToken ? = true ;
6445
65- /**
66- * @internal DEPREACTED/ LEGACY. Use method configure instead.
67- */
6846 public options ?: any ;
6947
7048 /**
7149 * The issuer's uri.
72- *
73- * @internal DEPREACTED/ LEGACY. Use method configure instead.
7450 */
7551 public issuer ? = '' ;
7652
7753 /**
7854 * The logout url.
79- *
80- * @internal DEPREACTED/ LEGACY. Use method configure instead.
8155 */
8256 public logoutUrl ? = '' ;
8357
8458 /**
8559 * Defines whether to clear the hash fragment after logging in.
86- *
87- * @internal DEPREACTED/ LEGACY. Use method configure instead.
8860 */
8961 public clearHashAfterLogin ? = true ;
9062
9163 /**
9264 * Url of the token endpoint as defined by OpenId Connect and OAuth 2.
93- *
94- * @internal DEPREACTED/ LEGACY. Use method configure instead.
9565 */
9666 public tokenEndpoint ?: string ;
9767
9868 /**
9969 * Url of the userinfo endpoint as defined by OpenId Connect.
10070 *
101- * @internal DEPREACTED/ LEGACY. Use method configure instead.
102- *
10371 */
10472 public userinfoEndpoint ?: string ;
10573
106- /**
107- * @internal DEPREACTED/ LEGACY. Use method configure instead.
108- */
10974 public responseType ? = 'token' ;
11075
11176 /**
11277 * Defines whether additional debug information should
11378 * be shown at the console.
114- *
115- * @internal DEPREACTED/ LEGACY. Use method configure instead.
11679 */
11780 public showDebugInformation ? = false ;
11881
11982 /**
12083 * The redirect uri used when doing silent refresh.
121- *
122- * @internal DEPREACTED/ LEGACY. Use method configure instead.
12384 */
12485 public silentRefreshRedirectUri ? = '' ;
12586
126- /**
127- * @internal DEPREACTED/ LEGACY. Use method configure instead.
128- */
12987 public silentRefreshMessagePrefix ? = '' ;
13088
13189 /**
13290 * Set this to true to display the iframe used for
13391 * silent refresh for debugging.
134- *
135- * @internal DEPREACTED/ LEGACY. Use method configure instead.
13692 */
13793 public silentRefreshShowIFrame ? = false ;
13894
13995 /**
14096 * Timeout for silent refresh.
141- *
142- * @internal DEPREACTED/ LEGACY. Use method configure instead.
14397 */
14498 public siletRefreshTimeout ?: number = 1000 * 20 ;
14599
@@ -150,8 +104,6 @@ export class AuthConfig {
150104 * here. As this passwort is exposed to the public
151105 * it does not bring additional security and is therefore
152106 * as good as using no password.
153- *
154- * @internal DEPREACTED/ LEGACY. Use method configure instead.
155107 */
156108 public dummyClientSecret ?: string ;
157109
@@ -161,47 +113,34 @@ export class AuthConfig {
161113 * The default value is remoteOnly which only allows
162114 * http for location, while every other domains need
163115 * to be used with https.
164- *
165- * @internal DEPREACTED/ LEGACY. Use method configure instead.
166116 */
167117 public requireHttps ?: boolean | 'remoteOnly' = 'remoteOnly' ;
168118
169119 /**
170120 * Defines whether every url provided by the discovery
171121 * document has to start with the issuer's url.
172- *
173- * @internal DEPREACTED/ LEGACY. Use method configure instead.
174122 */
175123 public strictDiscoveryDocumentValidation ? = true ;
176124
177125 /**
178126 * JSON Web Key Set (https://tools.ietf.org/html/rfc7517)
179127 * with keys used to validate received id_tokens.
180128 * This is taken out of the disovery document. Can be set manually too.
181- *
182- * @internal DEPREACTED/ LEGACY. Use method configure instead.
183129 */
184130 public jwks ?: object ;
185131
186132 /**
187133 * Map with additional query parameter that are appended to
188134 * the request when initializing implicit flow.
189- *
190- * @internal DEPREACTED/ LEGACY. Use method configure instead.
191135 */
192136 public customQueryParams ?: object ;
193137
194- /**
195- * @internal DEPREACTED/ LEGACY. Use method configure instead.
196- */
197138 public silentRefreshIFrameName ? = 'angular-oauth-oidc-silent-refresh-iframe' ;
198139
199140 /**
200141 * Defines when the token_timeout event should be raised.
201142 * If you set this to the default value 0.75, the event
202143 * is triggered after 75% of the token's life time.
203- *
204- * @internal DEPREACTED/ LEGACY. Use method configure instead.
205144 */
206145 public timeoutFactor ? = 0.75 ;
207146
@@ -210,31 +149,24 @@ export class AuthConfig {
210149 * is still logged in on a regular basis as described
211150 * in http://openid.net/specs/openid-connect-session-1_0.html#ChangeNotification
212151 * @type {boolean }
213- *
214- * @internal DEPREACTED/ LEGACY. Use method configure instead.
215152 */
216153 public sessionChecksEnabled ? = false ;
217154
218155 /**
219156 * Intervall in msec for checking the session
220157 * according to http://openid.net/specs/openid-connect-session-1_0.html#ChangeNotification
221158 * @type {number }
222- *
223- * @internal DEPREACTED/ LEGACY. Use method configure instead.
224159 */
225160 public sessionCheckIntervall ? = 3 * 1000 ;
226161
227162 /**
228163 * Url for the iframe used for session checks
229- * @internal DEPREACTED/ LEGACY. Use method configure instead.
230164 */
231165 public sessionCheckIFrameUrl ?: string ;
232166
233167 /**
234168 * Name of the iframe to use for session checks
235169 * @type {number }
236- *
237- * @internal DEPREACTED/ LEGACY. Use method configure instead.
238170 */
239171 public sessionCheckIFrameName ? = 'angular-oauth-oidc-check-session-iframe' ;
240172
0 commit comments