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

76 lines (38 loc) 2.59 kB
[@rxap/authentication](../wiki/globals) / 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`](../wiki/Interface.IAuthenticationService) ## Constructors ### new DisabledAuthenticationService() > **new DisabledAuthenticationService**(): [`DisabledAuthenticationService`](../wiki/Class.DisabledAuthenticationService) #### Returns [`DisabledAuthenticationService`](../wiki/Class.DisabledAuthenticationService) ## 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`](../wiki/Interface.IAuthenticationService).[`events$`](../wiki/Interface.IAuthenticationService#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`](../wiki/Interface.IAuthenticationService).[`isAuthenticated$`](../wiki/Interface.IAuthenticationService#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`](../wiki/Interface.IAuthenticationService).[`isAuthenticated`](../wiki/Interface.IAuthenticationService#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`](../wiki/Interface.IAuthenticationService).[`signOut`](../wiki/Interface.IAuthenticationService#signout)