Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithAnonymousAccess

Method
📦 Aspire.Hosting.DevTunnels v17.0.0
func (DevTunnelResource) WithAnonymousAccess() DevTunnelResource

Signature

methodWithAnonymousAccessbuilder
Allows the tunnel to be publicly accessed without authentication.
WithAnonymousAccess() DevTunnelResource
DevTunnelResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: