packages/core-api: make idToken and logout optional in SignInResult
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user