diff --git a/index.d.ts b/index.d.ts index ba0b2aa1..0efd68e3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -17,13 +17,13 @@ export type BaseAuthConfiguration = serviceConfiguration?: ServiceConfiguration; }; -export interface AuthConfiguration extends BaseAuthConfiguration { +export type AuthConfiguration = BaseAuthConfiguration & { clientSecret?: string; scopes: string[]; redirectUrl: string; additionalParameters?: { [name: string]: string }; dangerouslyAllowInsecureHttpRequests?: boolean; -} +}; export interface AuthorizeResult { accessToken: string;