Skip to content

Commit

Permalink
Merge pull request #9 from spring-media/SPR-4355
Browse files Browse the repository at this point in the history
SPR-4281 Als Nutzer will ich mich auf der CSC Wrapperseite abmelden
  • Loading branch information
segfault79 authored Sep 12, 2019
2 parents 8fa4c4a + 05e7cf6 commit eaa475f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions dist/ps-web-apis.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ export interface WhoamiV1 {
* gives information if user is currently loggedin from ui perspective
*/
isLoggedIn(): boolean;
/**
* fn will be called after the state changed from logged to logged out or vice versa
*/
onStateChange(fn: () => void): void;
/**
* will assert valid not outdated session before fetch will be done. backend credentials will be added automatically
* an error is resolved if session is invalid and not refeshable (= user logged out)
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ps-web-apis is a client side library to interface with ps services on ps support

# Installation

`npm install --save github:spring-media/ps-web-apis#v1.3.0`
`npm install --save github:spring-media/ps-web-apis#v1.4.0`

# Usage

Expand Down
4 changes: 4 additions & 0 deletions src/ps-web-apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ export interface WhoamiV1 {
* will start registration-process (e.g. go to sso-register)
*/
doRegister(additionalParameter?: Map<String, String[]>): void
/**
* will start logout-process (e.g. go to sso-logout)
*/
doLogout(additionalParameter?: Map<String, String[]>): void
/**
* will update access token and therefore content entitlements to current state
*/
Expand Down

0 comments on commit eaa475f

Please sign in to comment.