core: refactor SessionStateApi to SessionApi with sign-in/out

This commit is contained in:
Patrik Oldsberg
2020-09-22 11:41:57 +02:00
parent 38991e622c
commit 0406ace29a
18 changed files with 138 additions and 271 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ builder.add(identityApiRef, {
getUserId: () => 'guest',
getProfile: () => ({ email: 'guest@example.com' }),
getIdToken: () => undefined,
logout: async () => {},
signOut: async () => {},
});
const oauthRequestApi = builder.add(