EntraIdApplicationResource.WithPreAuthorizedApplication

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
type EntraIdApplicationResource interface {
// ... omitted for brevity
WithPreAuthorizedApplication(
client EntraIdApplicationResource,
scopeNames []string,
) EntraIdApplicationResource
}

Signature

methodWithPreAuthorizedApplicationbuilder
Pre-authorizes a client application to request some of this registration's scopes without any consent prompt.
WithPreAuthorizedApplication(
client EntraIdApplicationResource,
scopeNames []string,
) EntraIdApplicationResource
clientEntraIdApplicationResourceThe client application to pre-authorize.
scopeNames[]stringThe names of the scopes, added with WithScope, that the client may request.
EntraIdApplicationResource

The resource builder for chaining.

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

Defined on

This method is defined on the following type: