File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ export interface WhoamiV1 {
3
3
* gives information if user is currently loggedin from ui perspective
4
4
*/
5
5
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 ;
10
6
/**
11
7
* will assert valid not outdated session before fetch will be done. backend credentials will be added automatically
12
8
* an error is resolved if session is invalid and not refeshable (= user logged out)
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ps-web-apis is a client side library to interface with ps services on ps support
4
4
5
5
# Installation
6
6
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 `
8
8
9
9
# Usage
10
10
Original file line number Diff line number Diff line change @@ -63,6 +63,10 @@ export interface WhoamiV1 {
63
63
* will start registration-process (e.g. go to sso-register)
64
64
*/
65
65
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
66
70
/**
67
71
* will update access token and therefore content entitlements to current state
68
72
*/
You can’t perform that action at this time.
0 commit comments