@espressif/rainmaker-base-cdf
    Preparing search index...

    Class Auth

    Delegates auth calls to the active adaptor. All methods pass through to the adaptor; login and loginWithOauth also store the result in userStore.

    store.userStore.auth.login({ username, password });
    store.userStore.auth.forgotPassword({ username });
    Index

    Constructors

    Methods

    • Authenticates with email/username and password. On success, stores the user in userStore; access via userStore.user.

      Parameters

      Returns Promise<{ data: ESPCDFUser; description?: string; status: string }>

      API response with the observed user entity