@mediafly/frontend-api - v20.4.1
    Preparing search index...

    Function getCredentials

    • Returns credentials for a user. Used in situations where you need to ensure the user is properly authenticated for a particular special functionality. Note: For security, the tokens should not be persisted in client-side local storage, session storage, or cookies.

      Parameters

      • userId: string

      Returns Promise<Credentials>