GitHub

DaffAuthFacade

import { DaffAuthFacade } from '@daffodil/auth/state'

@Injectable()
class DaffAuthFacade implements DaffAuthFacadeInterface {
  loading$: Observable<boolean>
  errors$: Observable<DaffStateError[]>
  loggedIn$: Observable<boolean>

  dispatch(action: Action<string>): void
}

Properties

loading$
Observable<boolean>
Default
Description
errors$
Observable<DaffStateError[]>
Default
Description
loggedIn$
Observable<boolean>
Default
Description

Whether the current user is logged in.

() Methods

dispatch
void
Parameters
Parameteraction: Action
Description