Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithAuthTokenValue

Method
📦 CommunityToolkit.Aspire.Hosting.Ngrok v13.6.1
func (NgrokResource) WithAuthTokenValue(ngrokAuthToken string) NgrokResource

Signature

methodWithAuthTokenValuebuilder
Adds a ngrok auth token to a ngrok resource.
WithAuthTokenValue(ngrokAuthToken string) NgrokResource
ngrokAuthTokenstringThe ngrok auth token.
NgrokResource

The same reference to ngrok resource builder.

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

Applies to

This method applies to the following types: