Skip to content

Create a observable with the logic of userSignedIn() method #500

Open

Description

@ArmandoPerdomo

I'm submitting a...

  • Regression (a behavior that used to work and stopped working in a new release)
  • Bug report
  • Performance issue
  • Feature request
  • Documentation issue or request
  • Other... Please describe:

Current behavior

Actually userSignedIn() method can be used when is called only

Expected behavior

userSignedIn can be a observable, this ensures when the data changes to false, subscribers callbacks can be executed

What is the motivation / use case for changing the behavior?

In my app when user logout, is difficult handle with this method

Environment

Angular-Token version: ^7.0.1
Angular version: 7.1.4

Bundler

  • Angular CLI (Webpack)
  • Webpack
  • SystemJS

Browser:

  • Chrome (desktop) version XX
  • Chrome (Android) version XX
  • Chrome (iOS) version XX
  • Firefox version XX
  • Safari (desktop) version XX
  • Safari (iOS) version XX
  • IE version XX
  • Edge version XX

Activity

  1. changed the title [-]Create a observable of userSignedIn() method[/-] on Mar 22, 2019
  2. neroniaky commented on Mar 31, 2019

    @neroniaky
    Owner

    Hey @ArmandoPerdomo you could give the RC of 7.1.0 a try, which has this build in.

  3. ArmandoPerdomo commented on Jul 28, 2019

    @ArmandoPerdomo
    Author

    Hey @ArmandoPerdomo you could give the RC of 7.1.0 a try, which has this build in.

    I tried, but you have added this feature yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions