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

46 lines (23 loc) 1.51 kB
[@rxap/authentication](../wiki/globals) / IAuthenticationService # Interface: IAuthenticationService Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L12) ## Properties ### events$ > **events$**: `Observable`\<[`AuthenticationEvent`](../wiki/Interface.AuthenticationEvent)\> Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L14) *** ### isAuthenticated$ > **isAuthenticated$**: `Observable`\<`null` \| `boolean`\> Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L13) ## Methods ### isAuthenticated() > **isAuthenticated**(): `Promise`\<`boolean`\> Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L17) #### Returns `Promise`\<`boolean`\> *** ### signOut() > **signOut**(): `Promise`\<`void`\> Defined in: [authentication.service.ts:15](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/authentication.service.ts#L15) #### Returns `Promise`\<`void`\>