Skip to content
Alex edited this page Oct 10, 2018 · 4 revisions

Detailed Explanation

OidcFacade

Selectors

  • loading$ : Observable<boolean> - used to indicate if the user is currently loading
  • expiring$ : Observable<boolean> - indicates that a token is going to expire very soon
  • expired$ : Observable<boolean> - indicates that the token is expired, a new token should be obtained
  • identity$ : Observable<OidcUser> - returns an Observable to the obtained identity and is identical to User from oidc-client
  • errors$ : Observable<ErrorState> - returns an Observable to Errors caught from oidc-client

Methods

User

  • getOidcUser()
  • removeOidcUser()

Signin/-out

  • signinPopup(extraQueryParams?:any)
  • signinRedirect(extraQueryParams?:any)
  • signoutPopup(extraQueryParams?:any)
  • signoutRedirect(extraQueryParams?:any)
  • signinSilent()
  • getSignoutUrl(extraQueryParams?:any)

Events

Clone this wiki locally