Appearance
Documentation / expo / UseLoginInterface
Interface: UseLoginInterface
Properties
login
login: (
config
) =>Promise
<LoginResult
>
An async method to trigger the Privy-managed login flow.
Parameters
• config: LoginUIConfig
The configuration for the login flow.
Returns
Promise
<LoginResult
>
A promise that resolves with the result of the login flow.
Throws
The promise is rejected with an error of type PrivyUIError.