@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
22 lines (11 loc) • 458 B
Markdown
[**@rxap/authentication v19.0.4**](../README.md)
***
[@rxap/authentication](../globals.md) / withInitialAuthenticationState
# Function: withInitialAuthenticationState()
> **withInitialAuthenticationState**(`state`): `Provider`
Defined in: [provide.ts:22](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/authentication/src/lib/provide.ts#L22)
## Parameters
### state
`boolean`
## Returns
`Provider`