Skip to content

Commit eaa475f

Browse files
authored
Merge pull request #9 from spring-media/SPR-4355
SPR-4281 Als Nutzer will ich mich auf der CSC Wrapperseite abmelden
2 parents 8fa4c4a + 05e7cf6 commit eaa475f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/ps-web-apis.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ export interface WhoamiV1 {
33
* gives information if user is currently loggedin from ui perspective
44
*/
55
isLoggedIn(): boolean;
6-
/**
7-
* fn will be called after the state changed from logged to logged out or vice versa
8-
*/
9-
onStateChange(fn: () => void): void;
106
/**
117
* will assert valid not outdated session before fetch will be done. backend credentials will be added automatically
128
* an error is resolved if session is invalid and not refeshable (= user logged out)

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ps-web-apis is a client side library to interface with ps services on ps support
44

55
# Installation
66

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

99
# Usage
1010

src/ps-web-apis.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ export interface WhoamiV1 {
6363
* will start registration-process (e.g. go to sso-register)
6464
*/
6565
doRegister(additionalParameter?: Map<String, String[]>): void
66+
/**
67+
* will start logout-process (e.g. go to sso-logout)
68+
*/
69+
doLogout(additionalParameter?: Map<String, String[]>): void
6670
/**
6771
* will update access token and therefore content entitlements to current state
6872
*/

0 commit comments

Comments
 (0)