GitHub

DaffAuthDriverTokenCheck

import { DaffAuthDriverTokenCheck } from '@daffodil/auth/driver'

@Injectable()
class DaffAuthDriverTokenCheck {
  check(): Observable<void>
}

() Methods

check
Observable<void>

Checks if the auth token in storage is valid. If there is not an auth token in storage, the driver is not called and an error is immediately thrown.