|
1 | 1 | import { createRemoteJWKSet, decodeJwt, jwtVerify } from 'jose'; |
2 | 2 | import { OauthException } from '../common/exceptions/oauth.exception'; |
| 3 | +import { IronSessionProvider } from '../common/iron-session/iron-session-provider'; |
3 | 4 | import { fetchAndDeserialize } from '../common/utils/fetch-and-deserialize'; |
4 | 5 | import { AutoPaginatable } from '../common/utils/pagination'; |
5 | 6 | import { Challenge, ChallengeResponse } from '../mfa/interfaces'; |
@@ -63,7 +64,7 @@ import { |
63 | 64 | AuthenticateWithSessionCookieSuccessResponse, |
64 | 65 | SessionCookieData, |
65 | 66 | } from './interfaces/authenticate-with-session-cookie.interface'; |
66 | | -import { AuthorizationURLOptions } from './interfaces/authorization-url-options.interface'; |
| 67 | +import { UserManagementAuthorizationURLOptions } from './interfaces/authorization-url-options.interface'; |
67 | 68 | import { |
68 | 69 | CreateOrganizationMembershipOptions, |
69 | 70 | SerializedCreateOrganizationMembershipOptions, |
@@ -136,7 +137,6 @@ import { serializeListUsersOptions } from './serializers/list-users-options.seri |
136 | 137 | import { deserializeOrganizationMembership } from './serializers/organization-membership.serializer'; |
137 | 138 | import { serializeSendInvitationOptions } from './serializers/send-invitation-options.serializer'; |
138 | 139 | import { serializeUpdateOrganizationMembershipOptions } from './serializers/update-organization-membership-options.serializer'; |
139 | | -import { IronSessionProvider } from '../common/iron-session/iron-session-provider'; |
140 | 140 | import { Session } from './session'; |
141 | 141 |
|
142 | 142 | const toQueryString = (options: Record<string, string | undefined>): string => { |
@@ -994,7 +994,7 @@ export class UserManagement { |
994 | 994 | redirectUri, |
995 | 995 | state, |
996 | 996 | screenHint, |
997 | | - }: AuthorizationURLOptions): string { |
| 997 | + }: UserManagementAuthorizationURLOptions): string { |
998 | 998 | if (!provider && !connectionId && !organizationId) { |
999 | 999 | throw new TypeError( |
1000 | 1000 | `Incomplete arguments. Need to specify either a 'connectionId', 'organizationId', or 'provider'.`, |
|
0 commit comments