Check if the user appears to be logged in from the client side. Do NOT use for authentication as the result may be tempered with.
true if the user appears to be logged in.
Optional
documentCookie: stringOptional cookie string (for testing).
Starts the login process and creates a promise around it. Returns a promise that resolves as soon as the popup closes.
Promise
LoginFlowError LoginFlowError
containing the userClass
Optional
buildLoginWindow: ((url: URL) => LoginWindow)optional container to render the login flow in
Starts the login process. Returns a promise that resolves as soon as the popup closes.
Promise
error LoginFlowError
containing the userClass
Optional
buildLoginWindow: ((url: URL) => LoginWindow)optional container to render the login flow in
Generated using TypeDoc
Wraps login container in a promise.
Returns
Promise
Throws
LoginFlowError LoginFlowError