@softheon/armature 10.34.2 → 10.34.4

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.
@@ -3,7 +3,6 @@ import { AuthConfig } from 'angular-oauth2-oidc';
3
3
  export interface OidcAuthSettings extends AuthConfig {
4
4
  logInText?: string;
5
5
  logOutText?: string;
6
- authBtnAriaText?: string;
7
6
  returnRoute?: string;
8
7
  authSetOnStartup?: boolean;
9
8
  requireLoginOnStartup?: boolean;
@@ -34,7 +34,7 @@ export declare class AuthorizationService {
34
34
  * Initialize Authorization Settings.
35
35
  * @param authSettings The Authorization settings
36
36
  */
37
- initializeAuthSettings(authSettings: HeaderAuthSettings): void;
37
+ initializeAuthSettings(authSettings: HeaderAuthSettings, shouldTryLogin?: boolean): void;
38
38
  /** The user name */
39
39
  userName(): string;
40
40
  /**
@@ -70,8 +70,6 @@ export declare class ArmatureHeaderComponent implements OnInit {
70
70
  /** The color of the super header */
71
71
  superHeaderColor: string;
72
72
  /** AUTH SETTINGS */
73
- /** Authorization Button Aria Text. */
74
- authBtnAriaText: string;
75
73
  /** Flag if user is logged in. */
76
74
  isLoggedIn: boolean;
77
75
  /** User name **/
@@ -9,7 +9,6 @@ export declare class HeaderAuthSettings {
9
9
  skipIssuerCheck: boolean;
10
10
  logInText: string;
11
11
  logOutText: string;
12
- authBtnAriaText: string;
13
12
  timeoutFactor: number;
14
13
  returnRoute: string;
15
14
  postLogOutUrl: string;
@@ -26,7 +25,6 @@ export declare class HeaderAuthSettings {
26
25
  * @param skipIssuerCheck Skip issuer check flag.
27
26
  * @param logInText Log In Text.
28
27
  * @param logOutText Log Out Text.
29
- * @param authBtnAriaText Auth Button Aria Text.
30
28
  */
31
- constructor(clientId?: string, redirectUri?: string, issuer?: string, scope?: string, skipIssuerCheck?: boolean, logInText?: string, logOutText?: string, authBtnAriaText?: string, timeoutFactor?: number, returnRoute?: string, postLogOutUrl?: string, loginUrl?: string, authSetOnStartup?: boolean);
29
+ constructor(clientId?: string, redirectUri?: string, issuer?: string, scope?: string, skipIssuerCheck?: boolean, logInText?: string, logOutText?: string, timeoutFactor?: number, returnRoute?: string, postLogOutUrl?: string, loginUrl?: string, authSetOnStartup?: boolean);
32
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "10.34.2",
3
+ "version": "10.34.4",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
package/public-api.d.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  export * from './lib/armature.module';
3
3
  export * from './lib/core/services/session.service';
4
4
  export * from './lib/core/services/user-entity.service';
5
+ export * from './lib/core/services/authorization.service';
5
6
  export * from './lib/core/models/data-store-config';
6
7
  export * from './lib/core/models/typed-session';
7
8
  export * from './lib/core/models/http-verbs';
@@ -2,11 +2,10 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  export * from './public-api';
5
- export { SessionService as ɵc } from './lib/core/client-generated/api/session.service';
6
- export { Configuration as ɵe } from './lib/core/client-generated/configuration';
7
- export { BASE_PATH as ɵd } from './lib/core/client-generated/variables';
8
- export { Initializer as ɵb } from './lib/core/initializer/initializer.service';
9
- export { ArmatureAuthTokenAppendInterceptor as ɵf } from './lib/core/interceptors/armature-auth-token-append.interceptor';
10
- export { AuthorizationService as ɵa } from './lib/core/services/authorization.service';
11
- export { CacheService as ɵh } from './lib/distributed-cache/client-generated/api/cache.service';
12
- export { BASE_PATH as ɵg } from './lib/distributed-cache/client-generated/variables';
5
+ export { SessionService as ɵb } from './lib/core/client-generated/api/session.service';
6
+ export { Configuration as ɵd } from './lib/core/client-generated/configuration';
7
+ export { BASE_PATH as ɵc } from './lib/core/client-generated/variables';
8
+ export { Initializer as ɵa } from './lib/core/initializer/initializer.service';
9
+ export { ArmatureAuthTokenAppendInterceptor as ɵe } from './lib/core/interceptors/armature-auth-token-append.interceptor';
10
+ export { CacheService as ɵg } from './lib/distributed-cache/client-generated/api/cache.service';
11
+ export { BASE_PATH as ɵf } from './lib/distributed-cache/client-generated/variables';