dh-auth-library 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/getLoginHandler.d.ts +2 -2
- package/dist/auth/getSessionHandler.d.ts +2 -2
- package/dist/auth/loginhandlers/digidGemachtigdeLoginHandler.d.ts +1 -1
- package/dist/auth/loginhandlers/digidLoginHandler.d.ts +1 -1
- package/dist/auth/loginhandlers/eHerkenningBewindvoerderLoginHandler.d.ts +1 -1
- package/dist/auth/loginhandlers/eHerkenningLoginHandler.d.ts +1 -1
- package/dist/auth/sessionHandler.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthType } from '../constants';
|
|
1
|
+
import { AuthType } from '../constants/index';
|
|
2
2
|
import { LoginHandler } from './loginHandler';
|
|
3
|
-
import { LoginOptions } from './pages';
|
|
3
|
+
import { LoginOptions } from './pages/index';
|
|
4
4
|
/**
|
|
5
5
|
* Shortcut for creating the login handler for an auth type. Creating the handler directly, e.g.
|
|
6
6
|
* `new DigidLoginHandler(options)`, checks at compile time that the required options are there;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LoginHandler } from './loginHandler';
|
|
2
|
-
import { TestProfile } from '../constants';
|
|
3
|
-
import { LoginOptionsWithButton } from './pages';
|
|
2
|
+
import { TestProfile } from '../constants/index';
|
|
3
|
+
import { LoginOptionsWithButton } from './pages/index';
|
|
4
4
|
/**
|
|
5
5
|
* @param testProfile the test user to log in
|
|
6
6
|
* @param loginOptionsWithButtons with the login button and the accept cookiebutton if necessary
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Page } from '@playwright/test';
|
|
2
2
|
import { Account } from 'nl-portal-playwright-libraries';
|
|
3
3
|
import { LoginHandler } from '../loginHandler';
|
|
4
|
-
import { LoginOptionsWithButton } from '../pages';
|
|
4
|
+
import { LoginOptionsWithButton } from '../pages/index';
|
|
5
5
|
export declare class DigidGemachtigdeLoginHandler implements LoginHandler {
|
|
6
6
|
private readonly options;
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Page } from '@playwright/test';
|
|
2
2
|
import { Account } from 'nl-portal-playwright-libraries';
|
|
3
|
+
import { LoginOptionsWithButton } from '../pages/index';
|
|
3
4
|
import { LoginHandler } from '../loginHandler';
|
|
4
|
-
import { LoginOptionsWithButton } from '../pages';
|
|
5
5
|
export declare class DigidLoginHandler implements LoginHandler {
|
|
6
6
|
private readonly options;
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Page } from '@playwright/test';
|
|
2
2
|
import { Account } from 'nl-portal-playwright-libraries';
|
|
3
3
|
import { LoginHandler } from '../loginHandler';
|
|
4
|
-
import { LoginOptionsWithButton } from '../pages';
|
|
4
|
+
import { LoginOptionsWithButton } from '../pages/index';
|
|
5
5
|
export declare class EHerkenningBewindvoerderLoginHandler implements LoginHandler {
|
|
6
6
|
private readonly options;
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Page } from '@playwright/test';
|
|
2
2
|
import { Account } from 'nl-portal-playwright-libraries';
|
|
3
|
-
import { LoginHandler } from '../loginHandler';
|
|
4
3
|
import { LoginOptionsWithButton } from '../pages';
|
|
4
|
+
import { LoginHandler } from '../loginHandler';
|
|
5
5
|
export declare class EHerkenningLoginHandler implements LoginHandler {
|
|
6
6
|
private readonly options;
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Account, SessionHandler } from 'nl-portal-playwright-libraries';
|
|
2
2
|
import { LoginHandler } from './loginHandler';
|
|
3
|
-
import { AuthType } from '../constants';
|
|
3
|
+
import { AuthType } from '../constants/index';
|
|
4
4
|
export declare const MAX_SESSION_TIME_IN_MINUTES = 10;
|
|
5
5
|
/**
|
|
6
6
|
* This class creates the correct SessionHandler
|