File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -250,13 +250,14 @@ export class WebStorageStateStore implements StateStore {
250250}
251251
252252export interface SigninResponse {
253- new ( url : string ) : SigninResponse ;
253+ new ( url : string , delimiter : string = '#' ) : SigninResponse ;
254254
255255 access_token : string ;
256+ code : string ;
256257 error : string ;
257258 error_description : string ;
258259 error_uri : string ;
259- expires_at : number ;
260+ expires_in : number ;
260261 id_token : string ;
261262 profile : any ;
262263 scope : string ;
@@ -279,17 +280,31 @@ export interface SignoutResponse {
279280 state : any ;
280281}
281282
283+ export interface UserSettings {
284+ id_token : string ;
285+ session_state : any ;
286+ access_token : string ;
287+ refresh_token : string ;
288+ token_type : string ;
289+ scope : string ;
290+ profile : any ;
291+ expires_at : number ;
292+ state : any ;
293+ }
294+
282295export class User {
283- constructor ( response : SigninResponse ) ;
296+ constructor ( settings : UserSettings ) ;
284297
285298 id_token : string ;
286299 session_state : any ;
287300 access_token : string ;
301+ refresh_token : string ;
288302 token_type : string ;
289303 scope : string ;
290304 profile : any ;
291305 expires_at : number ;
292306 state : any ;
307+
293308 toStorageString ( ) : string ;
294309
295310 readonly expires_in : number | undefined ;
You can’t perform that action at this time.
0 commit comments