Skip to content

Commit eefb597

Browse files
Fix indentation
The identation was off due to mixed use of tabs and spaces. This PR uses only spaces for indentation.
1 parent 848aff0 commit eefb597

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

oidc-client.d.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ declare module "oidc-client" {
22
export = Oidc;
33
}
44
declare namespace Oidc {
5-
interface Logger {
6-
error(message?: any, ...optionalParams: any[]): void;
7-
info(message?: any, ...optionalParams: any[]): void;
8-
warn(message?: any, ...optionalParams: any[]): void;
9-
}
5+
interface Logger {
6+
error(message?: any, ...optionalParams: any[]): void;
7+
info(message?: any, ...optionalParams: any[]): void;
8+
warn(message?: any, ...optionalParams: any[]): void;
9+
}
1010
interface AccessTokenEvents {
1111

1212
load(container: User): void;
@@ -35,7 +35,7 @@ declare namespace Oidc {
3535
static ERROR: number;
3636
static WARN: number;
3737
static INFO: number;
38-
// For when TypeScript 2.0 compiler is more widely used
38+
// For when TypeScript 2.0 compiler is more widely used
3939
// static readonly NONE: number;
4040
// static readonly ERROR: number;
4141
// static readonly WARN: number;
@@ -69,16 +69,16 @@ declare namespace Oidc {
6969

7070
getSigningKeys(): Promise<any>;
7171
}
72-
interface MetadataServiceCtor {
73-
(settings: OidcClientSettings, jsonServiceCtor?: any): MetadataService;
74-
}
75-
interface ResponseValidator {
76-
validateSigninResponse(state: any, response: any): Promise<any>;
77-
validateSignoutResponse(state: any, response: any): Promise<any>;
78-
}
79-
interface ResponseValidatorCtor {
80-
(settings: OidcClientSettings, metadataServiceCtor?: MetadataServiceCtor, userInfoServiceCtor?: any): ResponseValidator;
81-
}
72+
interface MetadataServiceCtor {
73+
(settings: OidcClientSettings, jsonServiceCtor?: any): MetadataService;
74+
}
75+
interface ResponseValidator {
76+
validateSigninResponse(state: any, response: any): Promise<any>;
77+
validateSignoutResponse(state: any, response: any): Promise<any>;
78+
}
79+
interface ResponseValidatorCtor {
80+
(settings: OidcClientSettings, metadataServiceCtor?: MetadataServiceCtor, userInfoServiceCtor?: any): ResponseValidator;
81+
}
8282

8383
class OidcClient {
8484
constructor(settings: OidcClientSettings);
@@ -92,7 +92,7 @@ declare namespace Oidc {
9292
clearStaleState(stateStore: any): Promise<any>;
9393
}
9494

95-
interface OidcClientSettings {
95+
interface OidcClientSettings {
9696
authority?: string;
9797
metadataUrl?: string;
9898
metadata?: any;
@@ -201,13 +201,13 @@ declare namespace Oidc {
201201
state: any;
202202
toStorageString(): string;
203203

204-
expires_in: number;
205-
expired: boolean;
206-
scopes: string[];
204+
expires_in: number;
205+
expired: boolean;
206+
scopes: string[];
207207

208-
// For when TypeScript 2.0 compiler is more widely used
209-
// readonly expires_in: number;
210-
// readonly expired: boolean;
211-
// readonly scopes: string[];
208+
// For when TypeScript 2.0 compiler is more widely used
209+
// readonly expires_in: number;
210+
// readonly expired: boolean;
211+
// readonly scopes: string[];
212212
}
213213
}

0 commit comments

Comments
 (0)