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

    Indexable

    • [key: string]: any
    Index

    Constructors

    Properties

    auth: Auth

    Auth wrapper that delegates to the active adaptor. Use store.authService (alias) or userStore.auth.

    rootStore: ESPCDF

    Accessors

    adaptorAuthorizationEntityMap: Record<string, ESPCDFUser> | null

    Methods

    • Adds a dynamic observable property to the store.

      Parameters

      • propertyName: string

        The name of the property to add

      • initialValue: any

        The initial value of the property

      Returns void

    • Parameters

      • OptionaladaptorIdentifier: string

      Returns void

    • Fetches current user from the active adaptor and stores it. Use for init/refresh; after this, userStore.user is the source of truth.

      Returns Promise<ESPCDFUser | null>

    • Gets access token for the currently active adaptor user entity.

      Parameters

      • rootStore: ESPCDF | null
      • adaptorIdentifier: string

      Returns Promise<string>