Skip to content

Commit

Permalink
Merge pull request IdentityModel#978 from pmoleri/fix-state-types
Browse files Browse the repository at this point in the history
Revert TypeScript changes on state prop
  • Loading branch information
brockallen authored Oct 24, 2019
2 parents 8a2492e + ecf7941 commit 26a45b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export interface SigninResponse {
profile: any;
scope: string;
session_state: string;
state: string;
state: any;
token_type: string;

readonly expired: boolean | undefined;
Expand All @@ -354,7 +354,7 @@ export interface SignoutResponse {
error?: string;
error_description?: string;
error_uri?: string;
state: string;
state?: any;
}

export interface UserSettings {
Expand All @@ -366,7 +366,7 @@ export interface UserSettings {
scope: string;
profile: Profile;
expires_at: number;
state: string;
state: any;
}

export class User {
Expand All @@ -389,7 +389,7 @@ export class User {
/** The expires at returned from the OIDC provider */
expires_at: number;
/** The custom state transferred in the last signin */
state: string;
state: any;

toStorageString(): string;
static fromStorageString(storageString: string): User;
Expand Down

0 comments on commit 26a45b6

Please sign in to comment.