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

80 lines (40 loc) 2.62 kB
[**@rxap/authentication v19.0.4**](../README.md) *** [@rxap/authentication](../globals.md) / DisabledAuthenticationService # Class: DisabledAuthenticationService Defined in: [disabled-authentication.service.ts:9](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L9) ## Implements - [`IAuthenticationService`](../interfaces/IAuthenticationService.md) ## Constructors ### new DisabledAuthenticationService() > **new DisabledAuthenticationService**(): [`DisabledAuthenticationService`](DisabledAuthenticationService.md) #### Returns [`DisabledAuthenticationService`](DisabledAuthenticationService.md) ## Properties ### events$ > `readonly` **events$**: `Observable`\<`never`\> = `EMPTY` Defined in: [disabled-authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L12) #### Implementation of [`IAuthenticationService`](../interfaces/IAuthenticationService.md).[`events$`](../interfaces/IAuthenticationService.md#events$) *** ### isAuthenticated$ > `readonly` **isAuthenticated$**: `Observable`\<`boolean`\> Defined in: [disabled-authentication.service.ts:11](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L11) #### Implementation of [`IAuthenticationService`](../interfaces/IAuthenticationService.md).[`isAuthenticated$`](../interfaces/IAuthenticationService.md#isauthenticated$) ## Methods ### isAuthenticated() > **isAuthenticated**(): `Promise`\<`boolean`\> Defined in: [disabled-authentication.service.ts:18](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L18) #### Returns `Promise`\<`boolean`\> #### Implementation of [`IAuthenticationService`](../interfaces/IAuthenticationService.md).[`isAuthenticated`](../interfaces/IAuthenticationService.md#isauthenticated) *** ### signOut() > **signOut**(): `Promise`\<`void`\> Defined in: [disabled-authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/disabled-authentication.service.ts#L14) #### Returns `Promise`\<`void`\> #### Implementation of [`IAuthenticationService`](../interfaces/IAuthenticationService.md).[`signOut`](../interfaces/IAuthenticationService.md#signout)