@bostonuniversity/shibboleth-sp 1.0.4 → 1.0.6

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.
@@ -11,6 +11,8 @@ import { SamlParms } from "./Saml";
11
11
  * @property jwtPrivateKeyPEM - Optional private key for JWT generation
12
12
  * @property jwtPublicKeyPEM - Optional public key for JWT generation
13
13
  * @property customHeaders - Optional custom headers to append to requests
14
+ * @property loginPath - Optional path the SP answers to start login (default '/login')
15
+ * @property logoutPath - Optional path the SP answers to log out (default '/logout')
14
16
  */
15
17
  export interface IConfig {
16
18
  domain: string;
@@ -21,6 +23,8 @@ export interface IConfig {
21
23
  jwtPrivateKeyPEM?: string;
22
24
  jwtPublicKeyPEM?: string;
23
25
  customHeaders?: KeyValuePair[];
26
+ loginPath?: string;
27
+ logoutPath?: string;
24
28
  }
25
29
  /**
26
30
  * @returns An instance of IConfig whose values are ALL obtained from the environment.
@@ -4,8 +4,7 @@ export declare enum AUTH_PATHS {
4
4
  LOGIN = "/login",
5
5
  LOGOUT = "/logout",
6
6
  ASSERT = "/assert",
7
- METADATA = "/metadata",
8
- FAVICON = "/favicon.ico"
7
+ METADATA = "/metadata"
9
8
  }
10
9
  export declare const APP_AUTHORIZATION_HEADER_NAME = "app_authorization";
11
10
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bostonuniversity/shibboleth-sp",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "A nodejs typescript library that provides all service provider functionality for authenticating with a shibboleth IDP",
5
5
  "repository": {
6
6
  "type": "git",