packages/core-api: make idToken and logout optional in SignInResult

This commit is contained in:
Patrik Oldsberg
2020-06-16 14:14:05 +02:00
parent 2ed4db0f00
commit 09c16fb554
+2 -2
View File
@@ -34,11 +34,11 @@ export type SignInResult = {
/**
* ID token that will be returned by the IdentityApi
*/
idToken: string | undefined;
idToken?: string;
/**
* Logout handler that will be called if the user requests a logout.
*/
logout: () => Promise<void>;
logout?: () => Promise<void>;
};
export type SignInPageProps = {