UNPKG

@rxap/authentication

Version:

Provides authentication services, guards, and interceptors for Angular applications. It supports token-based authentication and provides features such as sign-out functionality and routing based on authentication status. This package also includes utiliti

2,064 lines 72.7 kB
{ "id": 0, "name": "@rxap/authentication", "variant": "project", "kind": 1, "flags": {}, "children": [ { "id": 42, "name": "AuthenticationEventType", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { "id": 44, "name": "OnAuthError", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 22, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L22" } ], "type": { "type": "literal", "value": "on-auth-error" } }, { "id": 43, "name": "OnAuthSuccess", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 21, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L21" } ], "type": { "type": "literal", "value": "on-auth-success" } }, { "id": 45, "name": "OnLogout", "variant": "declaration", "kind": 16, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 23, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L23" } ], "type": { "type": "literal", "value": "on-logout" } } ], "groups": [ { "title": "Enumeration Members", "children": [ 44, 43, 45 ] } ], "sources": [ { "fileName": "authentication.service.ts", "line": 20, "character": 12, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L20" } ] }, { "id": 1, "name": "AuthenticationRoutingService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 2, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "authentication-routing.service.ts", "line": 16, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication-routing.service.ts#L16" } ], "signatures": [ { "id": 3, "name": "AuthenticationRoutingService", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "authentication-routing.service.ts", "line": 16, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication-routing.service.ts#L16" } ], "parameters": [ { "id": 4, "name": "router", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/router/index.d.ts", "qualifiedName": "Router" }, "name": "Router", "package": "@angular/router" } }, { "id": 5, "name": "authenticationService", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": 50, "name": "RxapAuthenticationService", "package": "@rxap/authentication" } }, { "id": 6, "name": "deactivated", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "union", "types": [ { "type": "literal", "value": null }, { "type": "intrinsic", "name": "boolean" } ] }, "defaultValue": "null" } ], "type": { "type": "reference", "target": 1, "name": "AuthenticationRoutingService", "package": "@rxap/authentication" } } ] } ], "groups": [ { "title": "Constructors", "children": [ 2 ] } ], "sources": [ { "fileName": "authentication-routing.service.ts", "line": 14, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication-routing.service.ts#L14" } ] }, { "id": 64, "name": "DisabledAuthenticationService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 65, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { "id": 66, "name": "DisabledAuthenticationService", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", "target": 64, "name": "DisabledAuthenticationService", "package": "@rxap/authentication" } } ] }, { "id": 68, "name": "events$", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true, "isReadonly": true }, "sources": [ { "fileName": "disabled-authentication.service.ts", "line": 12, "character": 18, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L12" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/rxjs/src/internal/Observable.ts", "qualifiedName": "Observable" }, "typeArguments": [ { "type": "intrinsic", "name": "never" } ], "name": "Observable", "package": "rxjs" }, "defaultValue": "EMPTY", "implementationOf": { "type": "reference", "target": 37, "name": "IAuthenticationService.events$" } }, { "id": 67, "name": "isAuthenticated$", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true, "isReadonly": true }, "sources": [ { "fileName": "disabled-authentication.service.ts", "line": 11, "character": 18, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L11" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/rxjs/src/internal/Observable.ts", "qualifiedName": "Observable" }, "typeArguments": [ { "type": "intrinsic", "name": "boolean" } ], "name": "Observable", "package": "rxjs" }, "defaultValue": "...", "implementationOf": { "type": "reference", "target": 36, "name": "IAuthenticationService.isAuthenticated$" } }, { "id": 71, "name": "isAuthenticated", "variant": "declaration", "kind": 2048, "flags": {}, "sources": [ { "fileName": "disabled-authentication.service.ts", "line": 18, "character": 8, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L18" } ], "signatures": [ { "id": 72, "name": "isAuthenticated", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "disabled-authentication.service.ts", "line": 18, "character": 8, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L18" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "intrinsic", "name": "boolean" } ], "name": "Promise", "package": "typescript" }, "implementationOf": { "type": "reference", "target": 41, "name": "IAuthenticationService.isAuthenticated" } } ], "implementationOf": { "type": "reference", "target": 40, "name": "IAuthenticationService.isAuthenticated" } }, { "id": 69, "name": "signOut", "variant": "declaration", "kind": 2048, "flags": {}, "sources": [ { "fileName": "disabled-authentication.service.ts", "line": 14, "character": 8, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L14" } ], "signatures": [ { "id": 70, "name": "signOut", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "disabled-authentication.service.ts", "line": 14, "character": 8, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L14" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "intrinsic", "name": "void" } ], "name": "Promise", "package": "typescript" }, "implementationOf": { "type": "reference", "target": 39, "name": "IAuthenticationService.signOut" } } ], "implementationOf": { "type": "reference", "target": 38, "name": "IAuthenticationService.signOut" } } ], "groups": [ { "title": "Constructors", "children": [ 65 ] }, { "title": "Properties", "children": [ 68, 67 ] }, { "title": "Methods", "children": [ 71, 69 ] } ], "sources": [ { "fileName": "disabled-authentication.service.ts", "line": 9, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L9" } ], "implementedTypes": [ { "type": "reference", "target": 35, "name": "IAuthenticationService", "package": "@rxap/authentication" } ] }, { "id": 80, "name": "RegisterService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 81, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "register.service.ts", "line": 7, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/register.service.ts#L7" } ], "signatures": [ { "id": 82, "name": "RegisterService", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "register.service.ts", "line": 7, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/register.service.ts#L7" } ], "type": { "type": "reference", "target": 80, "name": "RegisterService", "package": "@rxap/authentication" } } ] }, { "id": 83, "name": "register", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "register.service.ts", "line": 11, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/register.service.ts#L11" } ], "signatures": [ { "id": 84, "name": "register", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "register.service.ts", "line": 11, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/register.service.ts#L11" } ], "parameters": [ { "id": 85, "name": "email", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "string" } }, { "id": 86, "name": "password", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "intrinsic", "name": "boolean" } ], "name": "Promise", "package": "typescript" } } ] } ], "groups": [ { "title": "Constructors", "children": [ 81 ] }, { "title": "Methods", "children": [ 83 ] } ], "sources": [ { "fileName": "register.service.ts", "line": 5, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/register.service.ts#L5" } ] }, { "id": 10, "name": "RxapAuthenticationGuard", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 11, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "authentication.guard.ts", "line": 20, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L20" } ], "signatures": [ { "id": 12, "name": "RxapAuthenticationGuard", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "authentication.guard.ts", "line": 20, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L20" } ], "parameters": [ { "id": 13, "name": "authentication", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": 50, "name": "RxapAuthenticationService", "package": "@rxap/authentication" } }, { "id": 14, "name": "router", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/router/index.d.ts", "qualifiedName": "Router" }, "name": "Router", "package": "@angular/router" } }, { "id": 15, "name": "deactivated", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "union", "types": [ { "type": "literal", "value": null }, { "type": "intrinsic", "name": "boolean" } ] }, "defaultValue": "null" } ], "type": { "type": "reference", "target": 10, "name": "RxapAuthenticationGuard", "package": "@rxap/authentication" } } ] }, { "id": 17, "name": "authentication", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true }, "sources": [ { "fileName": "authentication.guard.ts", "line": 22, "character": 11, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L22" } ], "type": { "type": "reference", "target": 50, "name": "RxapAuthenticationService", "package": "@rxap/authentication" } }, { "id": 16, "name": "lastUrl", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true }, "sources": [ { "fileName": "authentication.guard.ts", "line": 18, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L18" } ], "type": { "type": "union", "types": [ { "type": "literal", "value": null }, { "type": "intrinsic", "name": "string" } ] }, "defaultValue": "null" }, { "id": 18, "name": "router", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true }, "sources": [ { "fileName": "authentication.guard.ts", "line": 24, "character": 11, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L24" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/router/index.d.ts", "qualifiedName": "Router" }, "name": "Router", "package": "@angular/router" } }, { "id": 20, "name": "canActivate", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "authentication.guard.ts", "line": 31, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L31" } ], "signatures": [ { "id": 21, "name": "canActivate", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "authentication.guard.ts", "line": 31, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L31" } ], "parameters": [ { "id": 22, "name": "route", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/router/index.d.ts", "qualifiedName": "ActivatedRouteSnapshot" }, "name": "ActivatedRouteSnapshot", "package": "@angular/router" } }, { "id": 23, "name": "state", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/router/index.d.ts", "qualifiedName": "RouterStateSnapshot" }, "name": "RouterStateSnapshot", "package": "@angular/router" } } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "union", "types": [ { "type": "intrinsic", "name": "boolean" }, { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/router/index.d.ts", "qualifiedName": "UrlTree" }, "name": "UrlTree", "package": "@angular/router" } ] } ], "name": "Promise", "package": "typescript" } } ] }, { "id": 24, "name": "canActivateChild", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "authentication.guard.ts", "line": 39, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L39" } ], "signatures": [ { "id": 25, "name": "canActivateChild", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "authentication.guard.ts", "line": 39, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L39" } ], "parameters": [ { "id": 26, "name": "childRoute", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/router/index.d.ts", "qualifiedName": "ActivatedRouteSnapshot" }, "name": "ActivatedRouteSnapshot", "package": "@angular/router" } }, { "id": 27, "name": "state", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/router/index.d.ts", "qualifiedName": "RouterStateSnapshot" }, "name": "RouterStateSnapshot", "package": "@angular/router" } } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "union", "types": [ { "type": "intrinsic", "name": "boolean" }, { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/router/index.d.ts", "qualifiedName": "UrlTree" }, "name": "UrlTree", "package": "@angular/router" } ] } ], "name": "Promise", "package": "typescript" } } ] } ], "groups": [ { "title": "Constructors", "children": [ 11 ] }, { "title": "Properties", "children": [ 17, 16, 18 ] }, { "title": "Methods", "children": [ 20, 24 ] } ], "sources": [ { "fileName": "authentication.guard.ts", "line": 16, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.guard.ts#L16" } ] }, { "id": 50, "name": "RxapAuthenticationService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 51, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 39, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L39" } ], "signatures": [ { "id": 52, "name": "RxapAuthenticationService", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 39, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L39" } ], "type": { "type": "reference", "target": 50, "name": "RxapAuthenticationService", "package": "@rxap/authentication" } } ] }, { "id": 54, "name": "events$", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true, "isReadonly": true }, "sources": [ { "fileName": "authentication.service.ts", "line": 35, "character": 18, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L35" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/rxjs/src/internal/ReplaySubject.ts", "qualifiedName": "ReplaySubject" }, "typeArguments": [ { "type": "reference", "target": 46, "name": "AuthenticationEvent", "package": "@rxap/authentication" } ], "name": "ReplaySubject", "package": "rxjs" }, "defaultValue": "...", "implementationOf": { "type": "reference", "target": 37, "name": "IAuthenticationService.events$" } }, { "id": 53, "name": "isAuthenticated$", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true }, "sources": [ { "fileName": "authentication.service.ts", "line": 33, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L33" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/rxjs/src/internal/BehaviorSubject.ts", "qualifiedName": "BehaviorSubject" }, "typeArguments": [ { "type": "union", "types": [ { "type": "literal", "value": null }, { "type": "intrinsic", "name": "boolean" } ] } ], "name": "BehaviorSubject", "package": "rxjs" }, "defaultValue": "...", "implementationOf": { "type": "reference", "target": 36, "name": "IAuthenticationService.isAuthenticated$" } }, { "id": 58, "name": "isAuthenticated", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "authentication.service.ts", "line": 49, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L49" } ], "signatures": [ { "id": 59, "name": "isAuthenticated", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 49, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L49" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "intrinsic", "name": "boolean" } ], "name": "Promise", "package": "typescript" }, "implementationOf": { "type": "reference", "target": 41, "name": "IAuthenticationService.isAuthenticated" } } ], "implementationOf": { "type": "reference", "target": 40, "name": "IAuthenticationService.isAuthenticated" } }, { "id": 56, "name": "signOut", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "authentication.service.ts", "line": 43, "character": 15, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L43" } ], "signatures": [ { "id": 57, "name": "signOut", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 43, "character": 15, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L43" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "intrinsic", "name": "void" } ], "name": "Promise", "package": "typescript" }, "implementationOf": { "type": "reference", "target": 39, "name": "IAuthenticationService.signOut" } } ], "implementationOf": { "type": "reference", "target": 38, "name": "IAuthenticationService.signOut" } } ], "groups": [ { "title": "Constructors", "children": [ 51 ] }, { "title": "Properties", "children": [ 54, 53 ] }, { "title": "Methods", "children": [ 58, 56 ] } ], "sources": [ { "fileName": "authentication.service.ts", "line": 31, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L31" } ], "implementedTypes": [ { "type": "reference", "target": 35, "name": "IAuthenticationService", "package": "@rxap/authentication" } ] }, { "id": 87, "name": "SignOutDirective", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { "id": 88, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "sign-out.directive.ts", "line": 21, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/sign-out.directive.ts#L21" } ], "signatures": [ { "id": 89, "name": "SignOutDirective", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "sign-out.directive.ts", "line": 21, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/sign-out.directive.ts#L21" } ], "parameters": [ { "id": 90, "name": "auth", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": 50, "name": "RxapAuthenticationService", "package": "@rxap/authentication" } } ], "type": { "type": "reference", "target": 87, "name": "SignOutDirective", "package": "@rxap/authentication" } } ] }, { "id": 92, "name": "failure", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true }, "sources": [ { "fileName": "sign-out.directive.ts", "line": 19, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/sign-out.directive.ts#L19" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/core/index.d.ts", "qualifiedName": "EventEmitter" }, "typeArguments": [ { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Error" }, "name": "Error", "package": "typescript" } ], "name": "EventEmitter", "package": "@angular/core" }, "defaultValue": "..." }, { "id": 91, "name": "successful", "variant": "declaration", "kind": 1024, "flags": { "isPublic": true }, "sources": [ { "fileName": "sign-out.directive.ts", "line": 16, "character": 9, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/sign-out.directive.ts#L16" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/core/index.d.ts", "qualifiedName": "EventEmitter" }, "typeArguments": [ { "type": "intrinsic", "name": "void" } ], "name": "EventEmitter", "package": "@angular/core" }, "defaultValue": "..." }, { "id": 94, "name": "onClick", "variant": "declaration", "kind": 2048, "flags": { "isPublic": true }, "sources": [ { "fileName": "sign-out.directive.ts", "line": 25, "character": 15, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/sign-out.directive.ts#L25" } ], "signatures": [ { "id": 95, "name": "onClick", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "sign-out.directive.ts", "line": 25, "character": 15, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/sign-out.directive.ts#L25" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "intrinsic", "name": "void" } ], "name": "Promise", "package": "typescript" } } ] } ], "groups": [ { "title": "Constructors", "children": [ 88 ] }, { "title": "Properties", "children": [ 92, 91 ] }, { "title": "Methods", "children": [ 94 ] } ], "sources": [ { "fileName": "sign-out.directive.ts", "line": 13, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/sign-out.directive.ts#L13" } ] }, { "id": 100, "name": "AuthenticationAccessToken", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { "id": 101, "name": "token", "variant": "declaration", "kind": 1024, "flags": {}, "sources": [ { "fileName": "tokens.ts", "line": 10, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/tokens.ts#L10" } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 102, "name": "valid", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, "sources": [ { "fileName": "tokens.ts", "line": 11, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/tokens.ts#L11" } ], "type": { "type": "intrinsic", "name": "boolean" } } ], "groups": [ { "title": "Properties", "children": [ 101, 102 ] } ], "sources": [ { "fileName": "tokens.ts", "line": 9, "character": 17, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/tokens.ts#L9" } ], "indexSignatures": [ { "id": 103, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { "id": 104, "name": "key", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "any" } } ], "extendedTypes": [ { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Record" }, "typeArguments": [ { "type": "intrinsic", "name": "string" }, { "type": "intrinsic", "name": "any" } ], "name": "Record", "package": "typescript" } ] }, { "id": 46, "name": "AuthenticationEvent", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { "id": 47, "name": "type", "variant": "declaration", "kind": 1024, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 27, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L27" } ], "type": { "type": "reference", "target": 42, "name": "AuthenticationEventType", "package": "@rxap/authentication" } } ], "groups": [ { "title": "Properties", "children": [ 47 ] } ], "sources": [ { "fileName": "authentication.service.ts", "line": 26, "character": 17, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L26" } ], "indexSignatures": [ { "id": 48, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { "id": 49, "name": "key", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "any" } } ], "extendedTypes": [ { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Record" }, "typeArguments": [ { "type": "intrinsic", "name": "string" }, { "type": "intrinsic", "name": "any" } ], "name": "Record", "package": "typescript" } ] }, { "id": 35, "name": "IAuthenticationService", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { "id": 37, "name": "events$", "variant": "declaration", "kind": 1024, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 14, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L14" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/rxjs/src/internal/Observable.ts", "qualifiedName": "Observable" }, "typeArguments": [ { "type": "reference", "target": 46, "name": "AuthenticationEvent", "package": "@rxap/authentication" } ], "name": "Observable", "package": "rxjs" } }, { "id": 36, "name": "isAuthenticated$", "variant": "declaration", "kind": 1024, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 13, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L13" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/rxjs/src/internal/Observable.ts", "qualifiedName": "Observable" }, "typeArguments": [ { "type": "union", "types": [ { "type": "literal", "value": null }, { "type": "intrinsic", "name": "boolean" } ] } ], "name": "Observable", "package": "rxjs" } }, { "id": 40, "name": "isAuthenticated", "variant": "declaration", "kind": 2048, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 17, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L17" } ], "signatures": [ { "id": 41, "name": "isAuthenticated", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 17, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L17" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "intrinsic", "name": "boolean" } ], "name": "Promise", "package": "typescript" } } ] }, { "id": 38, "name": "signOut", "variant": "declaration", "kind": 2048, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 15, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L15" } ], "signatures": [ { "id": 39, "name": "signOut", "variant": "signature", "kind": 4096, "flags": {}, "sources": [ { "fileName": "authentication.service.ts", "line": 15, "character": 2, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L15" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", "qualifiedName": "Promise" }, "typeArguments": [ { "type": "intrinsic", "name": "void" } ], "name": "Promise", "package": "typescript" } } ] } ], "groups": [ { "title": "Properties", "children": [ 37, 36 ] }, { "title": "Methods", "children": [ 40, 38 ] } ], "sources": [ { "fileName": "authentication.service.ts", "line": 12, "character": 17, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L12" } ], "implementedBy": [ { "type": "reference", "target": 64, "name": "DisabledAuthenticationService" }, { "type": "reference", "target": 50, "name": "RxapAuthenticationService" } ] }, { "id": 105, "name": "RXAP_AUTHENTICATION_ACCESS_TOKEN", "variant": "declaration", "kind": 32, "flags": { "isConst": true }, "sources": [ { "fileName": "tokens.ts", "line": 14, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/tokens.ts#L14" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/core/index.d.ts", "qualifiedName": "InjectionToken" }, "typeArguments": [ { "type": "reference", "target": { "sourceFileName": "node_modules/rxjs/src/internal/BehaviorSubject.ts", "qualifiedName": "BehaviorSubject" }, "typeArguments": [ { "type": "union", "types": [ { "type": "literal", "value": null }, { "type": "reference", "target": 100, "name": "AuthenticationAccessToken", "package": "@rxap/authentication" } ] } ], "name": "BehaviorSubject", "package": "rxjs" } ], "name": "InjectionToken", "package": "@angular/core" }, "defaultValue": "..." }, { "id": 99, "name": "RXAP_AUTHENTICATION_DEACTIVATED", "variant": "declaration", "kind": 32, "flags": { "isConst": true }, "sources": [ { "fileName": "tokens.ts", "line": 7, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/tokens.ts#L7" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/core/index.d.ts", "qualifiedName": "InjectionToken" }, "typeArguments": [ { "type": "intrinsic", "name": "boolean" } ], "name": "InjectionToken", "package": "@angular/core" }, "defaultValue": "..." }, { "id": 106, "name": "RXAP_INITIAL_AUTHENTICATION_STATE", "variant": "declaration", "kind": 32, "flags": { "isConst": true }, "sources": [ { "fileName": "tokens.ts", "line": 22, "character": 13, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/tokens.ts#L22" } ], "type": { "type": "reference", "target": { "sourceFileName": "node_modules/@angular/core/index.d.ts", "qualifiedName": "InjectionToken" }, "typeArguments": [ { "type": "intrinsic", "name": "boolean" } ], "name": "InjectionToken", "package": "@angular/core" }, "defaultValue": "..." }, { "id": 60, "name": "BearerTokenInterceptor", "variant": "declaration", "kind": 64, "flags": {}, "sources": [ { "fileName": "bearer-token.interceptor.ts", "line": 10, "character": 16, "url": "https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f