angular-auth-oidc-client icon indicating copy to clipboard operation
angular-auth-oidc-client copied to clipboard

feat: add authenticated and userData signals

Open timdeschryver opened this issue 1 year ago • 0 comments

I had some time so I wanted to try-out signals within this library.

This PR adds two signals for the most common/used methods (from my perspective), which are isAuthenticated$ and userData$. I've just wrapped the observable with toSignal.

I've updated the standalone example app to test it out.

Thoughts? I can also convert this into an issue.

Anonymous: image

Authenticated: image

timdeschryver avatar May 10 '24 15:05 timdeschryver