You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @public (undocumented)
export function createMockUserToken(token: EmulatorMockTokenOptions, projectId?: string): string;
seems to be public, but undocumented. How can I access this function? I tried things like
import { createMockUserToken } from 'https://www.gstatic.com/firebasejs/10.3.0/firebase-util.js' import { createMockUserToken } from 'https://www.gstatic.com/firebasejs/10.3.0/firebase-utils.js' import { createMockUserToken } from 'https://www.gstatic.com/firebasejs/10.3.0/firebase-emulator.js' import { createMockUserToken } from 'https://www.gstatic.com/firebasejs/10.3.0/firebase-emulators.js'
but it doesn't work. It doesn't look like the utils package is exposed for end users. Is there some way I can access this api, or is it intentionally hidden?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For example, the following
seems to be public, but undocumented. How can I access this function? I tried things like
import { createMockUserToken } from 'https://www.gstatic.com/firebasejs/10.3.0/firebase-util.js'
import { createMockUserToken } from 'https://www.gstatic.com/firebasejs/10.3.0/firebase-utils.js'
import { createMockUserToken } from 'https://www.gstatic.com/firebasejs/10.3.0/firebase-emulator.js'
import { createMockUserToken } from 'https://www.gstatic.com/firebasejs/10.3.0/firebase-emulators.js'
but it doesn't work. It doesn't look like the utils package is exposed for end users. Is there some way I can access this api, or is it intentionally hidden?
Beta Was this translation helpful? Give feedback.
All reactions