Skip to content

shouldBypassAuth()

@blobs/sdk v0.1.0


@blobs/sdk / utils/environment / shouldBypassAuth

shouldBypassAuth(): boolean

Defined in: utils/environment.ts:211

Decide whether the SDK should auto-bypass authentication.

Returns true only when BLOBS_BYPASS_AUTH is explicitly set to "true". Always returns false outside the browser.

Returns

boolean

True if auth bypass is enabled.