@boxyhq/saml-jackson 1.20.2-beta.10583 → 1.20.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import type { SAMLProfile } from '@boxyhq/saml20/dist/typings';
2
- import type { JacksonOption, Storable, SAMLSSORecord, OIDCSSORecord, AttributeMapping } from '../typings';
2
+ import type { JacksonOption, Storable, SAMLSSORecord, OIDCSSORecord, SAMLFederationApp } from '../typings';
3
3
  export declare class SSOHandler {
4
4
  private connection;
5
5
  private session;
@@ -29,7 +29,7 @@ export declare class SSOHandler {
29
29
  createSAMLRequest({ connection, requestParams, mappings, }: {
30
30
  connection: SAMLSSORecord;
31
31
  requestParams: Record<string, any>;
32
- mappings: AttributeMapping[] | null;
32
+ mappings: SAMLFederationApp['mappings'];
33
33
  }): Promise<{
34
34
  redirect_url: any;
35
35
  authorize_form: any;
@@ -37,7 +37,7 @@ export declare class SSOHandler {
37
37
  createOIDCRequest({ connection, requestParams, mappings, }: {
38
38
  connection: OIDCSSORecord;
39
39
  requestParams: Record<string, any>;
40
- mappings: AttributeMapping[] | null;
40
+ mappings: SAMLFederationApp['mappings'];
41
41
  }): Promise<{
42
42
  redirect_url: string;
43
43
  authorize_form: null;
@@ -267,7 +267,7 @@ export declare class App {
267
267
  faviconUrl: string | null;
268
268
  primaryColor: string | null;
269
269
  tenants?: string[] | undefined;
270
- mappings: import("./types").AttributeMapping[] | null;
270
+ mappings?: import("./types").AttributeMapping[] | null | undefined;
271
271
  }>;
272
272
  getAll({ pageOffset, pageLimit, pageToken, }: {
273
273
  pageOffset?: number;
@@ -19,7 +19,7 @@ export type SAMLFederationApp = {
19
19
  faviconUrl: string | null;
20
20
  primaryColor: string | null;
21
21
  tenants?: string[];
22
- mappings: AttributeMapping[] | null;
22
+ mappings?: AttributeMapping[] | null;
23
23
  };
24
24
  export type SAMLFederationAppWithMetadata = SAMLFederationApp & {
25
25
  metadata: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boxyhq/saml-jackson",
3
- "version": "1.20.2-beta.10583",
3
+ "version": "1.20.3",
4
4
  "description": "SAML Jackson library",
5
5
  "keywords": [
6
6
  "SAML 2.0"